import{a as W,b as q}from"./chunk-EQDQRRRY.js";function ms(e,t){return Object.is(e,t)}var P=null,Vt=!1,Zr=1,j=Symbol("SIGNAL");function b(e){let t=P;return P=e,t}function ys(){return P}function Fl(){return Vt}var je={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function yn(e){if(Vt)throw new Error("");if(P===null)return;P.consumerOnSignalRead(e);let t=P.nextProducerIndex++;if(Dn(P),t<P.producerNode.length&&P.producerNode[t]!==e&&jt(P)){let n=P.producerNode[t];vn(n,P.producerIndexOfThis[t])}P.producerNode[t]!==e&&(P.producerNode[t]=e,P.producerIndexOfThis[t]=jt(P)?ws(e,P,t):0),P.producerLastReadVersion[t]=e.version}function kl(){Zr++}function vs(e){if(!(jt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Zr)){if(!e.producerMustRecompute(e)&&!Ht(e)){gs(e);return}e.producerRecomputeValue(e),gs(e)}}function Ds(e){if(e.liveConsumerNode===void 0)return;let t=Vt;Vt=!0;try{for(let n of e.liveConsumerNode)n.dirty||Is(n)}finally{Vt=t}}function Es(){return P?.consumerAllowSignalWrites!==!1}function Is(e){e.dirty=!0,Ds(e),e.consumerMarkedDirty?.(e)}function gs(e){e.dirty=!1,e.lastCleanEpoch=Zr}function at(e){return e&&(e.nextProducerIndex=0),b(e)}function Bt(e,t){if(b(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(jt(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)vn(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ht(e){Dn(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(vs(n),r!==n.version))return!0}return!1}function ut(e){if(Dn(e),jt(e))for(let t=0;t<e.producerNode.length;t++)vn(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function ws(e,t,n){if(Cs(e),e.liveConsumerNode.length===0&&bs(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=ws(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function vn(e,t){if(Cs(e),e.liveConsumerNode.length===1&&bs(e))for(let r=0;r<e.producerNode.length;r++)vn(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Dn(o),o.producerIndexOfThis[r]=t}}function jt(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Dn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Cs(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function bs(e){return e.producerNode!==void 0}function Qr(e){let t=Object.create(Pl);t.computation=e;let n=()=>{if(vs(t),yn(t),t.value===mn)throw t.error;return t.value};return n[j]=t,n}var Gr=Symbol("UNSET"),Wr=Symbol("COMPUTING"),mn=Symbol("ERRORED"),Pl=q(W({},je),{value:Gr,dirty:!0,error:null,equal:ms,kind:"computed",producerMustRecompute(e){return e.value===Gr||e.value===Wr},producerRecomputeValue(e){if(e.value===Wr)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Wr;let n=at(e),r,o=!1;try{r=e.computation(),b(null),o=t!==Gr&&t!==mn&&r!==mn&&e.equal(t,r)}catch(i){r=mn,e.error=i}finally{Bt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Ll(){throw new Error}var _s=Ll;function Ms(e){_s(e)}function Ss(e){_s=e}var Vl=null;function Ts(e){let t=Object.create(Yr);t.value=e;let n=()=>(yn(t),t.value);return n[j]=t,n}function En(e,t){Es()||Ms(e),e.equal(e.value,t)||(e.value=t,jl(e))}function xs(e,t){Es()||Ms(e),En(e,t(e.value))}var Yr=q(W({},je),{equal:ms,value:void 0,kind:"signal"});function jl(e){e.version++,kl(),Ds(e),Vl?.()}function Ns(e,t,n){let r=Object.create(Bl);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=u=>{r.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(ut(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=qr)}let a=()=>{if(r.fn===null)return;if(Fl())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Ht(r))return;r.hasRun=!0;let u=at(r);try{r.cleanupFn(),r.cleanupFn=qr,r.fn(o)}finally{Bt(r,u)}};return r.ref={notify:()=>Is(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[j]:r},r.ref}var qr=()=>{},Bl=q(W({},je),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:qr});function g(e){return typeof e=="function"}function ct(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var In=ct(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
  `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Be(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var k=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(g(r))try{r()}catch(i){t=i instanceof In?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{As(i)}catch(s){t=t??[],s instanceof In?t=[...t,...s.errors]:t.push(s)}}if(t)throw new In(t)}}add(t){var n;if(t&&t!==this)if(this.closed)As(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Be(n,t)}remove(t){let{_finalizers:n}=this;n&&Be(n,t),t instanceof e&&t._removeParent(this)}};k.EMPTY=(()=>{let e=new k;return e.closed=!0,e})();var Kr=k.EMPTY;function wn(e){return e instanceof k||e&&"closed"in e&&g(e.remove)&&g(e.add)&&g(e.unsubscribe)}function As(e){g(e)?e():e.unsubscribe()}var ie={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var lt={setTimeout(e,t,...n){let{delegate:r}=lt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=lt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Cn(e){lt.setTimeout(()=>{let{onUnhandledError:t}=ie;if(t)t(e);else throw e})}function Ee(){}var Rs=Jr("C",void 0,void 0);function Os(e){return Jr("E",void 0,e)}function Fs(e){return Jr("N",e,void 0)}function Jr(e,t,n){return{kind:e,value:t,error:n}}var He=null;function dt(e){if(ie.useDeprecatedSynchronousErrorHandling){let t=!He;if(t&&(He={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=He;if(He=null,n)throw r}}else e()}function ks(e){ie.useDeprecatedSynchronousErrorHandling&&He&&(He.errorThrown=!0,He.error=e)}var $e=class extends k{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,wn(t)&&t.add(this)):this.destination=Ul}static create(t,n,r){return new Se(t,n,r)}next(t){this.isStopped?eo(Fs(t),this):this._next(t)}error(t){this.isStopped?eo(Os(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?eo(Rs,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Hl=Function.prototype.bind;function Xr(e,t){return Hl.call(e,t)}var to=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){bn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){bn(r)}else bn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){bn(n)}}},Se=class extends $e{constructor(t,n,r){super();let o;if(g(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ie.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Xr(t.next,i),error:t.error&&Xr(t.error,i),complete:t.complete&&Xr(t.complete,i)}):o=t}this.destination=new to(o)}};function bn(e){ie.useDeprecatedSynchronousErrorHandling?ks(e):Cn(e)}function $l(e){throw e}function eo(e,t){let{onStoppedNotification:n}=ie;n&&lt.setTimeout(()=>n(e,t))}var Ul={closed:!0,next:Ee,error:$l,complete:Ee};var ft=typeof Symbol=="function"&&Symbol.observable||"@@observable";function B(e){return e}function zl(...e){return no(e)}function no(e){return e.length===0?B:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var I=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Wl(n)?n:new Se(n,r,o);return dt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Ps(r),new r((o,i)=>{let s=new Se({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[ft](){return this}pipe(...n){return no(n)(this)}toPromise(n){return n=Ps(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Ps(e){var t;return(t=e??ie.Promise)!==null&&t!==void 0?t:Promise}function Gl(e){return e&&g(e.next)&&g(e.error)&&g(e.complete)}function Wl(e){return e&&e instanceof $e||Gl(e)&&wn(e)}function ro(e){return g(e?.lift)}function E(e){return t=>{if(ro(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function m(e,t,n,r,o){return new oo(e,t,n,r,o)}var oo=class extends $e{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function io(){return E((e,t)=>{let n=null;e._refCount++;let r=m(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var so=class extends I{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,ro(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new k;let n=this.getSubject();t.add(this.source.subscribe(m(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=k.EMPTY)}return t}refCount(){return io()(this)}};var Ls=ct(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var te=(()=>{class e extends I{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new _n(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ls}next(n){dt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){dt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){dt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Kr:(this.currentObservers=null,i.push(n),new k(()=>{this.currentObservers=null,Be(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new I;return n.source=this,n}}return e.create=(t,n)=>new _n(t,n),e})(),_n=class extends te{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Kr}};var $t=class extends te{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Ut={now(){return(Ut.delegate||Date).now()},delegate:void 0};var ao=class extends te{constructor(t=1/0,n=1/0,r=Ut){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let u=1;u<r.length&&r[u]<=s;u+=2)a=u;a&&r.splice(0,a+1)}}};var Mn=class extends k{constructor(t,n){super()}schedule(t,n=0){return this}};var zt={setInterval(e,t,...n){let{delegate:r}=zt;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=zt;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Sn=class extends Mn{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return zt.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&zt.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Be(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var pt=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};pt.now=Ut.now;var Tn=class extends pt{constructor(t,n=pt.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Ue=new Tn(Sn),Vs=Ue;var Ie=new I(e=>e.complete());function xn(e){return e&&g(e.schedule)}function uo(e){return e[e.length-1]}function Te(e){return g(uo(e))?e.pop():void 0}function de(e){return xn(uo(e))?e.pop():void 0}function js(e,t){return typeof uo(e)=="number"?e.pop():t}function Hs(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(f){s(f)}}function u(l){try{c(r.throw(l))}catch(f){s(f)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function Bs(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ze(e){return this instanceof ze?(this.v=e,this):new ze(e)}function $s(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(d){return function(h){return Promise.resolve(h).then(d,f)}}function a(d,h){r[d]&&(o[d]=function(D){return new Promise(function(G,R){i.push([d,D,G,R])>1||u(d,D)})},h&&(o[d]=h(o[d])))}function u(d,h){try{c(r[d](h))}catch(D){p(i[0][3],D)}}function c(d){d.value instanceof ze?Promise.resolve(d.value.v).then(l,f):p(i[0][2],d)}function l(d){u("next",d)}function f(d){u("throw",d)}function p(d,h){d(h),i.shift(),i.length&&u(i[0][0],i[0][1])}}function Us(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Bs=="function"?Bs(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var ht=e=>e&&typeof e.length=="number"&&typeof e!="function";function Nn(e){return g(e?.then)}function An(e){return g(e[ft])}function Rn(e){return Symbol.asyncIterator&&g(e?.[Symbol.asyncIterator])}function On(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function ql(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Fn=ql();function kn(e){return g(e?.[Fn])}function Pn(e){return $s(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield ze(n.read());if(o)return yield ze(void 0);yield yield ze(r)}}finally{n.releaseLock()}})}function Ln(e){return g(e?.getReader)}function M(e){if(e instanceof I)return e;if(e!=null){if(An(e))return Zl(e);if(ht(e))return Ql(e);if(Nn(e))return Yl(e);if(Rn(e))return zs(e);if(kn(e))return Kl(e);if(Ln(e))return Jl(e)}throw On(e)}function Zl(e){return new I(t=>{let n=e[ft]();if(g(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Ql(e){return new I(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Yl(e){return new I(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Cn)})}function Kl(e){return new I(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function zs(e){return new I(t=>{Xl(e,t).catch(n=>t.error(n))})}function Jl(e){return zs(Pn(e))}function Xl(e,t){var n,r,o,i;return Hs(this,void 0,void 0,function*(){try{for(n=Us(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function Z(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Vn(e,t=0){return E((n,r)=>{n.subscribe(m(r,o=>Z(r,e,()=>r.next(o),t),()=>Z(r,e,()=>r.complete(),t),o=>Z(r,e,()=>r.error(o),t)))})}function jn(e,t=0){return E((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Gs(e,t){return M(e).pipe(jn(t),Vn(t))}function Ws(e,t){return M(e).pipe(jn(t),Vn(t))}function qs(e,t){return new I(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Zs(e,t){return new I(n=>{let r;return Z(n,t,()=>{r=e[Fn](),Z(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>g(r?.return)&&r.return()})}function Bn(e,t){if(!e)throw new Error("Iterable cannot be null");return new I(n=>{Z(n,t,()=>{let r=e[Symbol.asyncIterator]();Z(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Qs(e,t){return Bn(Pn(e),t)}function Ys(e,t){if(e!=null){if(An(e))return Gs(e,t);if(ht(e))return qs(e,t);if(Nn(e))return Ws(e,t);if(Rn(e))return Bn(e,t);if(kn(e))return Zs(e,t);if(Ln(e))return Qs(e,t)}throw On(e)}function fe(e,t){return t?Ys(e,t):M(e)}function co(...e){let t=de(e);return fe(e,t)}function ed(e,t){let n=g(e)?e:()=>e,r=o=>o.error(n());return new I(t?o=>t.schedule(r,0,o):r)}function td(e){return!!e&&(e instanceof I||g(e.lift)&&g(e.subscribe))}var we=ct(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function nd(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new Se({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new we)}});e.subscribe(i)})}function Ks(e){return e instanceof Date&&!isNaN(e)}function pe(e,t){return E((n,r)=>{let o=0;n.subscribe(m(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:rd}=Array;function od(e,t){return rd(t)?e(...t):e(t)}function gt(e){return pe(t=>od(e,t))}var{isArray:id}=Array,{getPrototypeOf:sd,prototype:ad,keys:ud}=Object;function Hn(e){if(e.length===1){let t=e[0];if(id(t))return{args:t,keys:null};if(cd(t)){let n=ud(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function cd(e){return e&&typeof e=="object"&&sd(e)===ad}function $n(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function ld(...e){let t=de(e),n=Te(e),{args:r,keys:o}=Hn(e);if(r.length===0)return fe([],t);let i=new I(dd(r,t,o?s=>$n(o,s):B));return n?i.pipe(gt(n)):i}function dd(e,t,n=B){return r=>{Js(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u<o;u++)Js(t,()=>{let c=fe(e[u],t),l=!1;c.subscribe(m(r,f=>{i[u]=f,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Js(e,t,n){e?Z(n,e,t):t()}function Xs(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,f=!1,p=()=>{f&&!u.length&&!c&&t.complete()},d=D=>c<r?h(D):u.push(D),h=D=>{i&&t.next(D),c++;let G=!1;M(n(D,l++)).subscribe(m(t,R=>{o?.(R),i?d(R):t.next(R)},()=>{G=!0},void 0,()=>{if(G)try{for(c--;u.length&&c<r;){let R=u.shift();s?Z(t,s,()=>h(R)):h(R)}p()}catch(R){t.error(R)}}))};return e.subscribe(m(t,d,()=>{f=!0,p()})),()=>{a?.()}}function se(e,t,n=1/0){return g(t)?se((r,o)=>pe((i,s)=>t(r,i,o,s))(M(e(r,o))),n):(typeof t=="number"&&(n=t),E((r,o)=>Xs(r,o,e,n)))}function Un(e=1/0){return se(B,e)}function ea(){return Un(1)}function xe(...e){return ea()(fe(e,de(e)))}function fd(e){return new I(t=>{M(e()).subscribe(t)})}function pd(...e){let t=Te(e),{args:n,keys:r}=Hn(e),o=new I(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l<s;l++){let f=!1;M(n[l]).subscribe(m(i,p=>{f||(f=!0,c--),a[l]=p},()=>u--,void 0,()=>{(!u||!f)&&(c||i.next(r?$n(r,a):a),i.complete())}))}});return t?o.pipe(gt(t)):o}var hd=["addListener","removeListener"],gd=["addEventListener","removeEventListener"],md=["on","off"];function lo(e,t,n,r){if(g(n)&&(r=n,n=void 0),r)return lo(e,t,n).pipe(gt(r));let[o,i]=Dd(e)?gd.map(s=>a=>e[s](t,a,n)):yd(e)?hd.map(ta(e,t)):vd(e)?md.map(ta(e,t)):[];if(!o&&ht(e))return se(s=>lo(s,t,n))(M(e));if(!o)throw new TypeError("Invalid event target");return new I(s=>{let a=(...u)=>s.next(1<u.length?u:u[0]);return o(a),()=>i(a)})}function ta(e,t){return n=>r=>e[n](t,r)}function yd(e){return g(e.addListener)&&g(e.removeListener)}function vd(e){return g(e.on)&&g(e.off)}function Dd(e){return g(e.addEventListener)&&g(e.removeEventListener)}function Ge(e=0,t,n=Vs){let r=-1;return t!=null&&(xn(t)?n=t:r=t),new I(o=>{let i=Ks(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Ed(e=0,t=Ue){return e<0&&(e=0),Ge(e,e,t)}function Id(...e){let t=de(e),n=js(e,1/0),r=e;return r.length?r.length===1?M(r[0]):Un(n)(fe(r,t)):Ie}var{isArray:wd}=Array;function zn(e){return e.length===1&&wd(e[0])?e[0]:e}function mt(e,t){return E((n,r)=>{let o=0;n.subscribe(m(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Cd(...e){return e=zn(e),e.length===1?M(e[0]):new I(bd(e))}function bd(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push(M(e[r]).subscribe(m(t,o=>{if(n){for(let i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(o)})))}}function _d(...e){let t=Te(e),n=zn(e);return n.length?new I(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)M(n[s]).subscribe(m(r,a=>{if(o[s].push(a),o.every(u=>u.length)){let u=o.map(c=>c.shift());r.next(t?t(...u):u),o.some((c,l)=>!c.length&&i[l])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):Ie}function fo(e){return E((t,n)=>{let r=null,o=!1,i;r=t.subscribe(m(n,void 0,void 0,s=>{i=M(e(s,fo(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function na(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(m(s,l=>{let f=c++;u=a?e(u,l,f):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function Md(e,t){return g(t)?se(e,t,1):se(e,1)}function Gt(e){return E((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function yt(e){return e<=0?()=>Ie:E((t,n)=>{let r=0;t.subscribe(m(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function ra(){return E((e,t)=>{e.subscribe(m(t,Ee))})}function oa(e){return pe(()=>e)}function po(e,t){return t?n=>xe(t.pipe(yt(1),ra()),n.pipe(po(e))):se((n,r)=>M(e(n,r)).pipe(yt(1),oa(n)))}function Sd(e,t=Ue){let n=Ge(e,t);return po(()=>n)}function Gn(e=Td){return E((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Td(){return new we}function xd(...e){return t=>xe(t,co(...e))}function Nd(e){return E((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Ad(e,t){let n=arguments.length>=2;return r=>r.pipe(e?mt((o,i)=>e(o,i,r)):B,yt(1),n?Gt(t):Gn(()=>new we))}function ho(e){return e<=0?()=>Ie:E((t,n)=>{let r=[];t.subscribe(m(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Rd(e,t){let n=arguments.length>=2;return r=>r.pipe(e?mt((o,i)=>e(o,i,r)):B,ho(1),n?Gt(t):Gn(()=>new we))}function Od(e,t){return E(na(e,t,arguments.length>=2,!0))}function Fd(...e){let t=de(e);return E((n,r)=>{(t?xe(e,n,t):xe(e,n)).subscribe(r)})}function kd(e,t){return E((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(m(r,u=>{o?.unsubscribe();let c=0,l=i++;M(e(u,l)).subscribe(o=m(r,f=>r.next(t?t(u,f,l,c++):f),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Pd(e){return E((t,n)=>{M(e).subscribe(m(n,()=>n.complete(),Ee)),!n.closed&&t.subscribe(n)})}function ia(e,t,n){let r=g(e)||t||n?{next:e,error:t,complete:n}:e;return r?E((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(m(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):B}function sa(e,t){return E((n,r)=>{let{leading:o=!0,trailing:i=!1}=t??{},s=!1,a=null,u=null,c=!1,l=()=>{u?.unsubscribe(),u=null,i&&(d(),c&&r.complete())},f=()=>{u=null,c&&r.complete()},p=h=>u=M(e(h)).subscribe(m(r,l,f)),d=()=>{if(s){s=!1;let h=a;a=null,r.next(h),!c&&p(h)}};n.subscribe(m(r,h=>{s=!0,a=h,!(u&&!u.closed)&&(o?d():p(h))},()=>{c=!0,!(i&&s&&u&&!u.closed)&&r.complete()}))})}function Ld(e,t=Ue,n){let r=Ge(e,t);return sa(()=>r,n)}function Vd(...e){let t=Te(e);return E((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let u=0;u<o;u++)M(e[u]).subscribe(m(r,c=>{i[u]=c,!a&&!s[u]&&(s[u]=!0,(a=s.every(B))&&(s=null))},Ee));n.subscribe(m(r,u=>{if(a){let c=[u,...i];r.next(t?t(...c):c)}}))})}var Ha="https://g.co/ng/security#xss",T=class extends Error{code;constructor(t,n){super($a(t,n)),this.code=t}};function $a(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Ua=Symbol("InputSignalNode#UNSET"),Bd=q(W({},Yr),{transformFn:void 0,applyValueToInputSignal(e,t){En(e,t)}});function za(e,t){let n=Object.create(Bd);n.value=e,n.transformFn=t?.transform;function r(){if(yn(n),n.value===Ua)throw new T(-950,!1);return n.value}return r[j]=n,r}function xr(e){return{toString:e}.toString()}function A(e){for(let t in e)if(e[t]===A)return t;throw Error("Could not find renamed property on target object.")}function Hd(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function U(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(U).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
`);return r>=0?n.slice(0,r):n}function So(e,t){return e?t?`${e} ${t}`:e:t||""}var $d=A({__forward_ref__:A});function Ga(e){return e.__forward_ref__=Ga,e.toString=function(){return U(this())},e}function H(e){return Wa(e)?e():e}function Wa(e){return typeof e=="function"&&e.hasOwnProperty($d)&&e.__forward_ref__===Ga}function O(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function qa(e){return{providers:e.providers||[],imports:e.imports||[]}}function Nr(e){return aa(e,Za)||aa(e,Qa)}function A_(e){return Nr(e)!==null}function aa(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ud(e){let t=e&&(e[Za]||e[Qa]);return t||null}function ua(e){return e&&(e.hasOwnProperty(ca)||e.hasOwnProperty(zd))?e[ca]:null}var Za=A({\u0275prov:A}),ca=A({\u0275inj:A}),Qa=A({ngInjectableDef:A}),zd=A({ngInjectorDef:A}),x=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=O({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ya(e){return e&&!!e.\u0275providers}var Gd=A({\u0275cmp:A}),Wd=A({\u0275dir:A}),qd=A({\u0275pipe:A}),Zd=A({\u0275mod:A}),er=A({\u0275fac:A}),Qt=A({__NG_ELEMENT_ID__:A}),la=A({__NG_ENV_ID__:A});function Ar(e){return typeof e=="string"?e:e==null?"":String(e)}function Qd(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Ar(e)}function Yd(e,t){throw new T(-200,e)}function Ei(e,t){throw new T(-201,!1)}var _=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(_||{}),To;function Ka(){return To}function ne(e){let t=To;return To=e,t}function Ja(e,t,n){let r=Nr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&_.Optional)return null;if(t!==void 0)return t;Ei(e,"Injector")}var Kd={},Yt=Kd,Jd="__NG_DI_FLAG__",tr="ngTempTokenPath",Xd="ngTokenPath",ef=/\n/gm,tf="\u0275",da="__source",wt;function nf(){return wt}function Ne(e){let t=wt;return wt=e,t}function rf(e,t=_.Default){if(wt===void 0)throw new T(-203,!1);return wt===null?Ja(e,void 0,t):wt.get(e,t&_.Optional?null:void 0,t)}function Y(e,t=_.Default){return(Ka()||rf)(H(e),t)}function v(e,t=_.Default){return Y(e,Rr(t))}function Rr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function xo(e){let t=[];for(let n=0;n<e.length;n++){let r=H(e[n]);if(Array.isArray(r)){if(r.length===0)throw new T(900,!1);let o,i=_.Default;for(let s=0;s<r.length;s++){let a=r[s],u=of(a);typeof u=="number"?u===-1?o=a.token:i|=u:o=a}t.push(Y(o,i))}else t.push(Y(r))}return t}function of(e){return e[Jd]}function sf(e,t,n,r){let o=e[tr];throw t[da]&&o.unshift(t[da]),e.message=af(`
`+e.message,o,n,r),e[Xd]=o,e[tr]=null,e}function af(e,t,n,r=null){e=e&&e.charAt(0)===`
`&&e.charAt(1)==tf?e.slice(2):e;let o=U(t);if(Array.isArray(t))o=t.map(U).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):U(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(ef,`
  `)}`}function _t(e,t){let n=e.hasOwnProperty(er);return n?e[er]:null}function uf(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function cf(e){return e.flat(Number.POSITIVE_INFINITY)}function Ii(e,t){e.forEach(n=>Array.isArray(n)?Ii(n,t):t(n))}function Xa(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function nr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function lf(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function df(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Or(e,t,n){let r=un(e,t);return r>=0?e[r|1]=n:(r=~r,df(e,r,t,n)),r}function go(e,t){let n=un(e,t);if(n>=0)return e[n|1]}function un(e,t){return ff(e,t,1)}function ff(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var qe={},$=[],rr=new x(""),eu=new x("",-1),tu=new x(""),or=class{get(t,n=Yt){if(n===Yt){let r=new Error(`NullInjectorError: No provider for ${U(t)}!`);throw r.name="NullInjectorError",r}return n}};function nu(e,t){let n=e[Zd]||null;if(!n&&t===!0)throw new Error(`Type ${U(e)} does not have '\u0275mod' property.`);return n}function Fe(e){return e[Gd]||null}function ru(e){return e[Wd]||null}function ou(e){return e[qd]||null}function pf(e){let t=Fe(e)||ru(e)||ou(e);return t!==null&&t.standalone}function iu(e){return{\u0275providers:e}}function hf(...e){return{\u0275providers:su(!0,e),\u0275fromNgModule:!0}}function su(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ii(t,s=>{let a=s;No(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&au(o,i),n}function au(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];wi(o,i=>{t(i,r)})}}function No(e,t,n,r){if(e=H(e),!e)return!1;let o=null,i=ua(e),s=!i&&Fe(e);if(!i&&!s){let u=e.ngModule;if(i=ua(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)No(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Ii(i.imports,l=>{No(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&au(c,t)}if(!a){let c=_t(o)||(()=>new o);t({provide:o,useFactory:c,deps:$},o),t({provide:tu,useValue:o,multi:!0},o),t({provide:rr,useValue:()=>Y(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;wi(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function wi(e,t){for(let n of e)Ya(n)&&(n=n.\u0275providers),Array.isArray(n)?wi(n,t):t(n)}var gf=A({provide:String,useValue:A});function uu(e){return e!==null&&typeof e=="object"&&gf in e}function mf(e){return!!(e&&e.useExisting)}function yf(e){return!!(e&&e.useFactory)}function Mt(e){return typeof e=="function"}function vf(e){return!!e.useClass}var cu=new x(""),qn={},Df={},mo;function Fr(){return mo===void 0&&(mo=new or),mo}var ke=class{},Kt=class extends ke{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Ro(t,s=>this.processProvider(s)),this.records.set(eu,vt(void 0,this)),o.has("environment")&&this.records.set(ke,vt(void 0,this));let i=this.records.get(cu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(tu,$,_.Self))}destroy(){qt(this),this._destroyed=!0;let t=b(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),b(t)}}onDestroy(t){return qt(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){qt(this);let n=Ne(this),r=ne(void 0),o;try{return t()}finally{Ne(n),ne(r)}}get(t,n=Yt,r=_.Default){if(qt(this),t.hasOwnProperty(la))return t[la](this);r=Rr(r);let o,i=Ne(this),s=ne(void 0);try{if(!(r&_.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=bf(t)&&Nr(t);c&&this.injectableDefInScope(c)?u=vt(Ao(t),qn):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&_.Self?Fr():this.parent;return n=r&_.Optional&&n===Yt?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[tr]=a[tr]||[]).unshift(U(t)),i)throw a;return sf(a,t,"R3InjectorError",this.source)}else throw a}finally{ne(s),Ne(i)}}resolveInjectorInitializers(){let t=b(null),n=Ne(this),r=ne(void 0),o;try{let i=this.get(rr,$,_.Self);for(let s of i)s()}finally{Ne(n),ne(r),b(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(U(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=H(t);let n=Mt(t)?t:H(t&&t.provide),r=If(t);if(!Mt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=vt(void 0,qn,!0),o.factory=()=>xo(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=b(null);try{return n.value===qn&&(n.value=Df,n.value=n.factory()),typeof n.value=="object"&&n.value&&Cf(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=H(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Ao(e){let t=Nr(e),n=t!==null?t.factory:_t(e);if(n!==null)return n;if(e instanceof x)throw new T(204,!1);if(e instanceof Function)return Ef(e);throw new T(204,!1)}function Ef(e){if(e.length>0)throw new T(204,!1);let n=Ud(e);return n!==null?()=>n.factory(e):()=>new e}function If(e){if(uu(e))return vt(void 0,e.useValue);{let t=lu(e);return vt(t,qn)}}function lu(e,t,n){let r;if(Mt(e)){let o=H(e);return _t(o)||Ao(o)}else if(uu(e))r=()=>H(e.useValue);else if(yf(e))r=()=>e.useFactory(...xo(e.deps||[]));else if(mf(e))r=()=>Y(H(e.useExisting));else{let o=H(e&&(e.useClass||e.provide));if(wf(e))r=()=>new o(...xo(e.deps));else return _t(o)||Ao(o)}return r}function qt(e){if(e.destroyed)throw new T(205,!1)}function vt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function wf(e){return!!e.deps}function Cf(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function bf(e){return typeof e=="function"||typeof e=="object"&&e instanceof x}function Ro(e,t){for(let n of e)Array.isArray(n)?Ro(n,t):n&&Ya(n)?Ro(n.\u0275providers,t):t(n)}function du(e,t){e instanceof Kt&&qt(e);let n,r=Ne(e),o=ne(void 0);try{return t()}finally{Ne(r),ne(o)}}function fu(){return Ka()!==void 0||nf()!=null}function kr(e){if(!fu())throw new T(-203,!1)}function _f(e){return typeof e=="function"}var _e=0,w=1,y=2,V=3,ce=4,K=5,Jt=6,ir=7,z=8,Xt=9,Ce=10,F=11,en=12,fa=13,Rt=14,re=15,Ze=16,Dt=17,be=18,Pr=19,pu=20,Re=21,Zn=22,Qe=23,J=24,Ct=25,ee=26,hu=1;var Ye=7,sr=8,St=9,Q=10;function Oe(e){return Array.isArray(e)&&typeof e[hu]=="object"}function Me(e){return Array.isArray(e)&&e[hu]===!0}function gu(e){return(e.flags&4)!==0}function Ot(e){return e.componentOffset>-1}function Ci(e){return(e.flags&1)===1}function ge(e){return!!e.template}function ar(e){return(e[y]&512)!==0}function cn(e){return(e[y]&256)===256}var Oo=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function mu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Mf=(()=>{let e=()=>yu;return e.ngInherit=!0,e})();function yu(e){return e.type.prototype.ngOnChanges&&(e.setInput=Tf),Sf}function Sf(){let e=Du(this),t=e?.current;if(t){let n=e.previous;if(n===qe)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Tf(e,t,n,r,o){let i=this.declaredInputs[r],s=Du(e)||xf(e,{previous:qe,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new Oo(c&&c.currentValue,n,u===qe),mu(e,t,o,n)}var vu="__ngSimpleChanges__";function Du(e){return e[vu]||null}function xf(e,t){return e[vu]=t}var pa=null;var N=function(e,t=null,n){pa?.(e,t,n)},Nf="svg",Af="math";function me(e){for(;Array.isArray(e);)e=e[_e];return e}function Eu(e,t){return me(t[e])}function De(e,t){return me(t[e.index])}function bi(e,t){return e.data[t]}function ye(e,t){let n=t[e];return Oe(n)?n:n[_e]}function Rf(e){return(e[y]&4)===4}function _i(e){return(e[y]&128)===128}function Of(e){return Me(e[V])}function ur(e,t){return t==null?null:e[t]}function Iu(e){e[Dt]=0}function Mi(e){e[y]&1024||(e[y]|=1024,_i(e)&&Ft(e))}function Ff(e,t){for(;e>0;)t=t[Rt],e--;return t}function Lr(e){return!!(e[y]&9216||e[J]?.dirty)}function Fo(e){e[Ce].changeDetectionScheduler?.notify(8),e[y]&64&&(e[y]|=1024),Lr(e)&&Ft(e)}function Ft(e){e[Ce].changeDetectionScheduler?.notify(0);let t=Ke(e);for(;t!==null&&!(t[y]&8192||(t[y]|=8192,!_i(t)));)t=Ke(t)}function wu(e,t){if(cn(e))throw new T(911,!1);e[Re]===null&&(e[Re]=[]),e[Re].push(t)}function kf(e,t){if(e[Re]===null)return;let n=e[Re].indexOf(t);n!==-1&&e[Re].splice(n,1)}function Ke(e){let t=e[V];return Me(t)?t[V]:t}function Cu(e){return e[ir]??=[]}function bu(e){return e.cleanup??=[]}function Pf(e,t,n,r){let o=Cu(t);o.push(n),e.firstCreatePass&&bu(e).push(r,o.length-1)}var C={lFrame:Fu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ko=!1;function Lf(){return C.lFrame.elementDepthCount}function Vf(){C.lFrame.elementDepthCount++}function jf(){C.lFrame.elementDepthCount--}function _u(){return C.bindingsEnabled}function Mu(){return C.skipHydrationRootTNode!==null}function Bf(e){return C.skipHydrationRootTNode===e}function Hf(){C.skipHydrationRootTNode=null}function S(){return C.lFrame.lView}function L(){return C.lFrame.tView}function R_(e){return C.lFrame.contextLView=e,e[z]}function O_(e){return C.lFrame.contextLView=null,e}function oe(){let e=Su();for(;e!==null&&e.type===64;)e=e.parent;return e}function Su(){return C.lFrame.currentTNode}function $f(){let e=C.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function ln(e,t){let n=C.lFrame;n.currentTNode=e,n.isParent=t}function Tu(){return C.lFrame.isParent}function xu(){C.lFrame.isParent=!1}function Nu(){return ko}function cr(e){let t=ko;return ko=e,t}function Uf(){let e=C.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function zf(e){return C.lFrame.bindingIndex=e}function dn(){return C.lFrame.bindingIndex++}function Au(e){let t=C.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Gf(){return C.lFrame.inI18n}function Wf(e,t){let n=C.lFrame;n.bindingIndex=n.bindingRootIndex=e,Po(t)}function qf(){return C.lFrame.currentDirectiveIndex}function Po(e){C.lFrame.currentDirectiveIndex=e}function Zf(e){let t=C.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Si(){return C.lFrame.currentQueryIndex}function Vr(e){C.lFrame.currentQueryIndex=e}function Qf(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[K]:null}function Ru(e,t,n){if(n&_.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&_.Host);)if(o=Qf(i),o===null||(i=i[Rt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=C.lFrame=Ou();return r.currentTNode=t,r.lView=e,!0}function Ti(e){let t=Ou(),n=e[w];C.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ou(){let e=C.lFrame,t=e===null?null:e.child;return t===null?Fu(e):t}function Fu(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function ku(){let e=C.lFrame;return C.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Pu=ku;function xi(){let e=ku();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Yf(e){return(C.lFrame.contextLView=Ff(e,C.lFrame.contextLView))[z]}function ot(){return C.lFrame.selectedIndex}function Je(e){C.lFrame.selectedIndex=e}function jr(){let e=C.lFrame;return bi(e.tView,e.selectedIndex)}function Kf(){return C.lFrame.currentNamespace}var Lu=!0;function Ni(){return Lu}function Ai(e){Lu=e}function Jf(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=yu(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Vu(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:c,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),u&&(e.viewHooks??=[]).push(-n,u),c&&((e.viewHooks??=[]).push(n,c),(e.viewCheckHooks??=[]).push(n,c)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Qn(e,t,n){ju(e,t,3,n)}function Yn(e,t,n,r){(e[y]&3)===n&&ju(e,t,n,r)}function yo(e,t){let n=e[y];(n&3)===t&&(n&=16383,n+=1,e[y]=n)}function ju(e,t,n,r){let o=r!==void 0?e[Dt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let u=o;u<s;u++)if(typeof t[u+1]=="number"){if(a=t[u],r!=null&&a>=r)break}else t[u]<0&&(e[Dt]+=65536),(a<i||i==-1)&&(Xf(e,n,t,u),e[Dt]=(e[Dt]&4294901760)+u+2),u++}function ha(e,t){N(4,e,t);let n=b(null);try{t.call(e)}finally{b(n),N(5,e,t)}}function Xf(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[y]>>14<e[Dt]>>16&&(e[y]&3)===t&&(e[y]+=16384,ha(a,i)):ha(a,i)}var bt=-1,Xe=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function ep(e){return e instanceof Xe}function tp(e){return(e.flags&8)!==0}function np(e){return(e.flags&16)!==0}function rp(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];ip(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function op(e){return e===3||e===4||e===6}function ip(e){return e.charCodeAt(0)===64}function tn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?ga(e,n,o,null,t[++r]):ga(e,n,o,null,null))}}return e}function ga(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var vo={},Lo=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Rr(r);let o=this.injector.get(t,vo,r);return o!==vo||n===vo?o:this.parentInjector.get(t,n,r)}};function Bu(e){return e!==bt}function lr(e){return e&32767}function sp(e){return e>>16}function dr(e,t){let n=sp(e),r=t;for(;n>0;)r=r[Rt],n--;return r}var Vo=!0;function ma(e){let t=Vo;return Vo=e,t}var ap=256,Hu=ap-1,$u=5,up=0,he={};function cp(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Qt)&&(r=n[Qt]),r==null&&(r=n[Qt]=up++);let o=r&Hu,i=1<<o;t.data[e+(o>>$u)]|=i}function fr(e,t){let n=Uu(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Do(r.data,e),Do(t,null),Do(r.blueprint,null));let o=Ri(e,t),i=e.injectorIndex;if(Bu(o)){let s=lr(o),a=dr(o,t),u=a[w].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function Do(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Uu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ri(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Zu(o),r===null)return bt;if(n++,o=o[Rt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return bt}function jo(e,t,n){cp(e,t,n)}function zu(e,t,n){if(n&_.Optional||e!==void 0)return e;Ei(t,"NodeInjector")}function Gu(e,t,n,r){if(n&_.Optional&&r===void 0&&(r=null),(n&(_.Self|_.Host))===0){let o=e[Xt],i=ne(void 0);try{return o?o.get(t,r,n&_.Optional):Ja(t,r,n&_.Optional)}finally{ne(i)}}return zu(r,t,n)}function Wu(e,t,n,r=_.Default,o){if(e!==null){if(t[y]&2048&&!(r&_.Self)){let s=pp(e,t,n,r,he);if(s!==he)return s}let i=qu(e,t,n,r,he);if(i!==he)return i}return Gu(t,n,r,o)}function qu(e,t,n,r,o){let i=dp(n);if(typeof i=="function"){if(!Ru(t,e,r))return r&_.Host?zu(o,n,r):Gu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&_.Optional))Ei(n);else return s}finally{Pu()}}else if(typeof i=="number"){let s=null,a=Uu(e,t),u=bt,c=r&_.Host?t[re][K]:null;for((a===-1||r&_.SkipSelf)&&(u=a===-1?Ri(e,t):t[a+8],u===bt||!va(r,!1)?a=-1:(s=t[w],a=lr(u),t=dr(u,t)));a!==-1;){let l=t[w];if(ya(i,a,l.data)){let f=lp(a,t,n,s,r,c);if(f!==he)return f}u=t[a+8],u!==bt&&va(r,t[w].data[a+8]===c)&&ya(i,a,t)?(s=l,a=lr(u),t=dr(u,t)):a=-1}}return o}function lp(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],u=r==null?Ot(a)&&Vo:r!=s&&(a.type&3)!==0,c=o&_.Host&&i===a,l=Kn(a,s,n,u,c);return l!==null?nn(t,s,l,a):he}function Kn(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,u=e.directiveStart,c=e.directiveEnd,l=i>>20,f=r?a:a+l,p=o?a+l:c;for(let d=f;d<p;d++){let h=s[d];if(d<u&&n===h||d>=u&&h.type===n)return d}if(o){let d=s[u];if(d&&ge(d)&&d.type===n)return u}return null}function nn(e,t,n,r){let o=e[n],i=t.data;if(ep(o)){let s=o;s.resolving&&Yd(Qd(i[n]));let a=ma(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ne(s.injectImpl):null,l=Ru(e,r,_.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Jf(n,i[n],t)}finally{c!==null&&ne(c),ma(a),s.resolving=!1,Pu()}}return o}function dp(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Qt)?e[Qt]:void 0;return typeof t=="number"?t>=0?t&Hu:fp:t}function ya(e,t,n){let r=1<<e;return!!(n[t+(e>>$u)]&r)}function va(e,t){return!(e&_.Self)&&!(e&_.Host&&t)}var We=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Wu(this._tNode,this._lView,t,Rr(r),n)}};function fp(){return new We(oe(),S())}function F_(e){return xr(()=>{let t=e.prototype.constructor,n=t[er]||Bo(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[er]||Bo(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Bo(e){return Wa(e)?()=>{let t=Bo(H(e));return t&&t()}:_t(e)}function pp(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[y]&2048&&!ar(s);){let a=qu(i,s,n,r|_.Self,he);if(a!==he)return a;let u=i.parent;if(!u){let c=s[pu];if(c){let l=c.get(n,he,r);if(l!==he)return l}u=Zu(s),s=s[Rt]}i=u}return o}function Zu(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[K]:null}function Da(e,t=null,n=null,r){let o=Qu(e,t,n,r);return o.resolveInjectorInitializers(),o}function Qu(e,t=null,n=null,r,o=new Set){let i=[n||$,hf(e)];return r=r||(typeof e=="object"?void 0:U(e)),new Kt(i,t||Fr(),r||null,o)}var ve=class e{static THROW_IF_NOT_FOUND=Yt;static NULL=new or;static create(t,n){if(Array.isArray(t))return Da({name:""},n,t,"");{let r=t.name??"";return Da({name:r},t.parent,t.providers,r)}}static \u0275prov=O({token:e,providedIn:"any",factory:()=>Y(eu)});static __NG_ELEMENT_ID__=-1};var hp=new x("");hp.__NG_ELEMENT_ID__=e=>{let t=oe();if(t===null)throw new T(204,!1);if(t.type&2)return t.value;if(e&_.Optional)return null;throw new T(204,!1)};var Yu=!1,fn=(()=>{class e{static __NG_ELEMENT_ID__=gp;static __NG_ENV_ID__=n=>n}return e})(),pr=class extends fn{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return wu(this._lView,t),()=>kf(this._lView,t)}};function gp(){return new pr(S())}var et=class{},Oi=new x("",{providedIn:"root",factory:()=>!1});var Ku=new x(""),Ju=new x(""),pn=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new $t(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=O({token:e,providedIn:"root",factory:()=>new e})}return e})();var Ho=class extends te{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,fu()&&(this.destroyRef=v(fn,{optional:!0})??void 0,this.pendingTasks=v(pn,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof k&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},Ae=Ho;function rn(...e){}function Xu(e){let t,n;function r(){e=rn;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Ea(e){return queueMicrotask(()=>e()),()=>{e=rn}}var Fi="isAngularZone",hr=Fi+"_ID",mp=0,X=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ae(!1);onMicrotaskEmpty=new Ae(!1);onStable=new Ae(!1);onError=new Ae(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Yu}=t;if(typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Dp(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Fi)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new T(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,yp,rn,rn);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},yp={};function ki(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function vp(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Xu(()=>{e.callbackScheduled=!1,$o(e),e.isCheckStableRunning=!0,ki(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),$o(e)}function Dp(e){let t=()=>{vp(e)},n=mp++;e._inner=e._inner.fork({name:"angular",properties:{[Fi]:!0,[hr]:n,[hr+n]:!0},onInvokeTask:(r,o,i,s,a,u)=>{if(Ep(u))return r.invokeTask(i,s,a,u);try{return Ia(e),r.invokeTask(i,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),wa(e)}},onInvoke:(r,o,i,s,a,u,c)=>{try{return Ia(e),r.invoke(i,s,a,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Ip(u)&&t(),wa(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,$o(e),ki(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function $o(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Ia(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function wa(e){e._nesting--,ki(e)}var Uo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ae;onMicrotaskEmpty=new Ae;onStable=new Ae;onError=new Ae;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Ep(e){return ec(e,"__ignore_ng_zone__")}function Ip(e){return ec(e,"__scheduler_tick__")}function ec(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var tt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},wp=new x("",{providedIn:"root",factory:()=>{let e=v(X),t=v(tt);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function Ca(e,t){return za(e,t)}function Cp(e){return za(Ua,e)}var k_=(Ca.required=Cp,Ca);function bp(){return kt(oe(),S())}function kt(e,t){return new it(De(e,t))}var it=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=bp}return e})();function tc(e){return e instanceof it?e.nativeElement:e}function _p(e,t){let n=Ts(e),r=n[j];return t?.equal&&(r.equal=t.equal),n.set=o=>En(r,o),n.update=o=>xs(r,o),n.asReadonly=Mp.bind(n),n}function Mp(){let e=this[j];if(e.readonlyFn===void 0){let t=()=>this();t[j]=e,e.readonlyFn=t}return e.readonlyFn}function Sp(){return this._results[Symbol.iterator]()}var zo=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new te}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=cf(t);(this._changesDetected=!uf(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Sp};function nc(e){return(e.flags&128)===128}var rc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(rc||{}),oc=new Map,Tp=0;function xp(){return Tp++}function Np(e){oc.set(e[Pr],e)}function Go(e){oc.delete(e[Pr])}var ba="__ngContext__";function hn(e,t){Oe(t)?(e[ba]=t[Pr],Np(t)):e[ba]=t}function ic(e){return ac(e[en])}function sc(e){return ac(e[ce])}function ac(e){for(;e!==null&&!Me(e);)e=e[ce];return e}var Wo;function P_(e){Wo=e}function Ap(){if(Wo!==void 0)return Wo;if(typeof document<"u")return document;throw new T(210,!1)}var L_=new x("",{providedIn:"root",factory:()=>Rp}),Rp="ng",Op=new x(""),Fp=new x("",{providedIn:"platform",factory:()=>"unknown"});var V_=new x(""),j_=new x("",{providedIn:"root",factory:()=>Ap().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var kp="h",Pp="b";var uc=!1,Lp=new x("",{providedIn:"root",factory:()=>uc});var Pi=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Pi||{}),Br=new x(""),_a=new Set;function Pt(e){_a.has(e)||(_a.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Li=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Vp}return e})();function Vp(){return new Li(S(),oe())}var Et=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Et||{}),cc=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=O({token:e,providedIn:"root",factory:()=>new e})}return e})(),jp=[Et.EarlyRead,Et.Write,Et.MixedReadWrite,Et.Read],Bp=(()=>{class e{ngZone=v(X);scheduler=v(et);errorHandler=v(tt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){v(Br,{optional:!0})}execute(){let n=this.sequences.size>0;n&&N(16),this.executing=!0;for(let r of jp)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&N(17)}register(n){let{view:r}=n;r!==void 0?((r[Ct]??=[]).push(n),Ft(r),r[y]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Pi.AFTER_NEXT_RENDER,n):n()}static \u0275prov=O({token:e,providedIn:"root",factory:()=>new e})}return e})(),qo=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Ct];t&&(this.view[Ct]=t.filter(n=>n!==this))}};function Hp(e,t){!t?.injector&&kr(Hp);let n=t?.injector??v(ve);return Pt("NgAfterRender"),lc(e,n,t,!1)}function $p(e,t){!t?.injector&&kr($p);let n=t?.injector??v(ve);return Pt("NgAfterNextRender"),lc(e,n,t,!0)}function Up(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function lc(e,t,n,r){let o=t.get(cc);o.impl??=t.get(Bp);let i=t.get(Br,null,{optional:!0}),s=n?.phase??Et.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(fn):null,u=t.get(Li,null,{optional:!0}),c=new qo(o.impl,Up(e,s),u?.view,r,a,i?.snapshot(null));return o.impl.register(c),c}var zp=()=>null;function dc(e,t,n=!1){return zp(e,t,n)}function fc(e,t){let n=e.contentQueries;if(n!==null){let r=b(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Vr(i),a.contentQueries(2,t[s],s)}}}finally{b(r)}}}function Zo(e,t,n){Vr(0);let r=b(null);try{t(e,n)}finally{b(r)}}function pc(e,t,n){if(gu(t)){let r=b(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let u=n[s];a.contentQueries(1,u,s)}}}finally{b(r)}}}var on=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(on||{});var gr=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ha})`}};function Hr(e){return e instanceof gr?e.changingThisBreaksApplicationSecurity:e}function Gp(e,t){let n=Wp(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ha})`)}return n===t}function Wp(e){return e instanceof gr&&e.getTypeName()||null}var qp=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Zp(e){return e=String(e),e.match(qp)?e:"unsafe:"+e}var hc=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(hc||{});function B_(e){let t=Qp();return t?t.sanitize(hc.URL,e)||"":Gp(e,"URL")?Hr(e):Zp(Ar(e))}function Qp(){let e=S();return e&&e[Ce].sanitizer}function gc(e){return e instanceof Function?e():e}function Yp(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var mc="ng-template";function Kp(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Yp(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Vi(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Vi(e){return e.type===4&&e.value!==mc}function Jp(e,t,n){let r=e.type===4&&!n?mc:e.value;return t===r}function Xp(e,t,n){let r=4,o=e.attrs,i=o!==null?nh(o):0,s=!1;for(let a=0;a<t.length;a++){let u=t[a];if(typeof u=="number"){if(!s&&!ae(r)&&!ae(u))return!1;if(s&&ae(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!Jp(e,u,n)||u===""&&t.length===1){if(ae(r))return!1;s=!0}}else if(r&8){if(o===null||!Kp(e,o,u,n)){if(ae(r))return!1;s=!0}}else{let c=t[++a],l=eh(u,o,Vi(e),n);if(l===-1){if(ae(r))return!1;s=!0;continue}if(c!==""){let f;if(l>i?f="":f=o[l+1].toLowerCase(),r&2&&c!==f){if(ae(r))return!1;s=!0}}}}return ae(r)||s}function ae(e){return(e&1)===0}function eh(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return rh(t,e)}function yc(e,t,n=!1){for(let r=0;r<t.length;r++)if(Xp(e,t[r],n))return!0;return!1}function th(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function nh(e){for(let t=0;t<e.length;t++){let n=e[t];if(op(n))return t}return e.length}function rh(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function oh(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Ma(e,t){return e?":not("+t.trim()+")":t}function ih(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ae(s)&&(t+=Ma(i,o),o=""),r=s,i=i||!ae(r);n++}return o!==""&&(t+=Ma(i,o)),t}function sh(e){return e.map(ih).join(",")}function ah(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!ae(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var le={};function uh(e,t){return e.createText(t)}function ch(e,t,n){e.setValue(t,n)}function vc(e,t,n){return e.createElement(t,n)}function mr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Dc(e,t,n){e.appendChild(t,n)}function Sa(e,t,n,r,o){r!==null?mr(e,t,n,r,o):Dc(e,t,n)}function lh(e,t,n){e.removeChild(null,t,n)}function dh(e,t,n){e.setAttribute(t,"style",n)}function fh(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ec(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&rp(e,t,r),o!==null&&fh(e,t,o),i!==null&&dh(e,t,i)}function ji(e,t,n,r,o,i,s,a,u,c,l){let f=ee+r,p=f+o,d=ph(f,p),h=typeof c=="function"?c():c;return d[w]={type:e,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:t,data:d.slice().fill(null,f),bindingStartIndex:f,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1,ssrId:l}}function ph(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:le);return n}function hh(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ji(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Bi(e,t,n,r,o,i,s,a,u,c,l){let f=t.blueprint.slice();return f[_e]=o,f[y]=r|4|128|8|64|1024,(c!==null||e&&e[y]&2048)&&(f[y]|=2048),Iu(f),f[V]=f[Rt]=e,f[z]=n,f[Ce]=s||e&&e[Ce],f[F]=a||e&&e[F],f[Xt]=u||e&&e[Xt]||null,f[K]=i,f[Pr]=xp(),f[Jt]=l,f[pu]=c,f[re]=t.type==2?e[re]:f,f}function gh(e,t,n){let r=De(t,e),o=hh(n),i=e[Ce].rendererFactory,s=Hi(e,Bi(e,o,null,Ic(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Ic(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function wc(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Hi(e,t){return e[en]?e[fa][ce]=t:e[en]=t,e[fa]=t,t}function H_(e=1){Cc(L(),S(),ot()+e,!1)}function Cc(e,t,n,r){if(!r)if((t[y]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Qn(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Yn(t,i,0,n)}Je(n)}var $r=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}($r||{});function Qo(e,t,n,r){let o=b(null);try{let[i,s,a]=e.inputs[n],u=null;(s&$r.SignalBased)!==0&&(u=t[i][j]),u!==null&&u.transformFn!==void 0?r=u.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,u,r,n,i):mu(t,u,i,r)}finally{b(o)}}function bc(e,t,n,r,o){let i=ot(),s=r&2;try{Je(-1),s&&t.length>ee&&Cc(e,t,ee,!1),N(s?2:0,o),n(r,o)}finally{Je(i),N(s?3:1,o)}}function $i(e,t,n){Ih(e,t,n),(n.flags&64)===64&&wh(e,t,n)}function _c(e,t,n=De){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function mh(e,t,n,r){let i=r.get(Lp,uc)||n===on.ShadowDom,s=e.selectRootElement(t,i);return yh(s),s}function yh(e){vh(e)}var vh=()=>null;function Dh(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Ui(e,t,n,r,o,i,s,a){if(!a&&zi(t,e,n,r,o)){Ot(t)&&Eh(n,t.index);return}if(t.type&3){let u=De(t,n);r=Dh(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(u,r,o)}else t.type&12}function Eh(e,t){let n=ye(t,e);n[y]&16||(n[y]|=64)}function Ih(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Ot(n)&&gh(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||fr(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],u=nn(t,e,s,n);if(hn(u,t),i!==null&&Mh(t,s-r,u,a,n,i),ge(a)){let c=ye(n.index,t);c[z]=nn(t,e,s,n)}}}function wh(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=qf();try{Je(i);for(let a=r;a<o;a++){let u=e.data[a],c=t[a];Po(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&Ch(u,c)}}finally{Je(-1),Po(s)}}function Ch(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Mc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];yc(t,i.selectors,!1)&&(r??=[],ge(i)?r.unshift(i):r.push(i))}return r}function bh(e,t,n,r,o,i){let s=De(e,t);_h(t[F],s,i,e.value,n,r,o)}function _h(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Ar(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Mh(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let u=s[a],c=s[a+1];Qo(r,n,u,c)}}function Sc(e,t){let n=e[Xt],r=n?n.get(tt,null):null;r&&r.handleError(t)}function zi(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let u=0;u<s.length;u+=2){let c=s[u],l=s[u+1],f=t.data[c];Qo(f,n[c],l,o),a=!0}if(i)for(let u of i){let c=n[u],l=t.data[u];Qo(l,c,r,o),a=!0}return a}function Sh(e,t){let n=ye(t,e),r=n[w];Th(r,n);let o=n[_e];o!==null&&n[Jt]===null&&(n[Jt]=dc(o,n[Xt])),N(18),Gi(r,n,n[z]),N(19,n[z])}function Th(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Gi(e,t,n){Ti(t);try{let r=e.viewQuery;r!==null&&Zo(1,r,n);let o=e.template;o!==null&&bc(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[be]?.finishViewCreation(e),e.staticContentQueries&&fc(e,t),e.staticViewQueries&&Zo(2,e.viewQuery,n);let i=e.components;i!==null&&xh(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[y]&=-5,xi()}}function xh(e,t){for(let n=0;n<t.length;n++)Sh(e,t[n])}function Wi(e,t,n,r){let o=b(null);try{let i=t.tView,a=e[y]&4096?4096:16,u=Bi(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),c=e[t.index];u[Ze]=c;let l=e[be];return l!==null&&(u[be]=l.createEmbeddedView(i)),Gi(i,u,n),u}finally{b(o)}}function yr(e,t){return!t||t.firstChild===null||nc(e)}var Nh;function qi(e,t){return Nh(e,t)}var vr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(vr||{});function Zi(e){return(e.flags&32)===32}function It(e,t,n,r,o){if(r!=null){let i,s=!1;Me(r)?i=r:Oe(r)&&(s=!0,r=r[_e]);let a=me(r);e===0&&n!==null?o==null?Dc(t,n,a):mr(t,n,a,o||null,!0):e===1&&n!==null?mr(t,n,a,o||null,!0):e===2?lh(t,a,s):e===3&&t.destroyNode(a),i!=null&&Bh(t,e,i,n,o)}}function Ah(e,t){Tc(e,t),t[_e]=null,t[K]=null}function Rh(e,t,n,r,o,i){r[_e]=o,r[K]=t,Ur(e,r,n,1,o,i)}function Tc(e,t){t[Ce].changeDetectionScheduler?.notify(9),Ur(e,t,t[F],2,null,null)}function Oh(e){let t=e[en];if(!t)return Eo(e[w],e);for(;t;){let n=null;if(Oe(t))n=t[en];else{let r=t[Q];r&&(n=r)}if(!n){for(;t&&!t[ce]&&t!==e;)Oe(t)&&Eo(t[w],t),t=t[V];t===null&&(t=e),Oe(t)&&Eo(t[w],t),n=t&&t[ce]}t=n}}function Qi(e,t){let n=e[St],r=n.indexOf(t);n.splice(r,1)}function Yi(e,t){if(cn(t))return;let n=t[F];n.destroyNode&&Ur(e,t,n,3,null,null),Oh(t)}function Eo(e,t){if(cn(t))return;let n=b(null);try{t[y]&=-129,t[y]|=256,t[J]&&ut(t[J]),kh(e,t),Fh(e,t),t[w].type===1&&t[F].destroy();let r=t[Ze];if(r!==null&&Me(t[V])){r!==t[V]&&Qi(r,t);let o=t[be];o!==null&&o.detachView(e)}Go(t)}finally{b(n)}}function Fh(e,t){let n=e.cleanup,r=t[ir];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[ir]=null);let o=t[Re];if(o!==null){t[Re]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Qe];if(i!==null){t[Qe]=null;for(let s of i)s.destroy()}}function kh(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Xe)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],u=i[s+1];N(4,a,u);try{u.call(a)}finally{N(5,a,u)}}else{N(4,o,i);try{i.call(o)}finally{N(5,o,i)}}}}}function xc(e,t,n){return Ph(e,t.parent,n)}function Ph(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[_e];if(Ot(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===on.None||o===on.Emulated)return null}return De(r,n)}function Nc(e,t,n){return Vh(e,t,n)}function Lh(e,t,n){return e.type&40?De(e,n):null}var Vh=Lh,Ta;function Ki(e,t,n,r){let o=xc(e,r,t),i=t[F],s=r.parent||t[K],a=Nc(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)Sa(i,o,n[u],a,!1);else Sa(i,o,n,a,!1);Ta!==void 0&&Ta(i,r,t,n,o)}function Zt(e,t){if(t!==null){let n=t.type;if(n&3)return De(t,e);if(n&4)return Yo(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Zt(e,r);{let o=e[t.index];return Me(o)?Yo(-1,o):me(o)}}else{if(n&128)return Zt(e,t.next);if(n&32)return qi(t,e)()||me(e[t.index]);{let r=Ac(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Ke(e[re]);return Zt(o,r)}else return Zt(e,t.next)}}}return null}function Ac(e,t){if(t!==null){let r=e[re][K],o=t.projection;return r.projection[o]}return null}function Yo(e,t){let n=Q+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return Zt(r,o)}return t[Ye]}function Ji(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],u=n.type;if(s&&t===0&&(a&&hn(me(a),r),n.flags|=2),!Zi(n))if(u&8)Ji(e,t,n.child,r,o,i,!1),It(t,e,o,a,i);else if(u&32){let c=qi(n,r),l;for(;l=c();)It(t,e,o,l,i);It(t,e,o,a,i)}else u&16?Rc(e,t,r,n,o,i):It(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Ur(e,t,n,r,o,i){Ji(n,r,e.firstChild,t,o,i,!1)}function jh(e,t,n){let r=t[F],o=xc(e,n,t),i=n.parent||t[K],s=Nc(i,n,t);Rc(r,0,t,n,o,s)}function Rc(e,t,n,r,o,i){let s=n[re],u=s[K].projection[r.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++){let l=u[c];It(t,e,o,l,i)}else{let c=u,l=s[V];nc(r)&&(c.flags|=128),Ji(e,t,c,l,o,i,!0)}}function Bh(e,t,n,r,o){let i=n[Ye],s=me(n);i!==s&&It(t,e,r,i,o);for(let a=Q;a<n.length;a++){let u=n[a];Ur(u[w],u,e,t,r,i)}}function Hh(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:vr.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=vr.Important),e.setStyle(n,r,o,i))}}function Dr(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(me(i)),Me(i)&&$h(i,r);let s=n.type;if(s&8)Dr(e,t,n.child,r);else if(s&32){let a=qi(n,t),u;for(;u=a();)r.push(u)}else if(s&16){let a=Ac(t,n);if(Array.isArray(a))r.push(...a);else{let u=Ke(t[re]);Dr(u[w],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function $h(e,t){for(let n=Q;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&Dr(r[w],r,o,t)}e[Ye]!==e[_e]&&t.push(e[Ye])}function Oc(e){if(e[Ct]!==null){for(let t of e[Ct])t.impl.addSequence(t);e[Ct].length=0}}var Fc=[];function Uh(e){return e[J]??zh(e)}function zh(e){let t=Fc.pop()??Object.create(Wh);return t.lView=e,t}function Gh(e){e.lView[J]!==e&&(e.lView=null,Fc.push(e))}var Wh=q(W({},je),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Ft(e.lView)},consumerOnSignalRead(){this.lView[J]=this}});function qh(e){let t=e[J]??Object.create(Zh);return t.lView=e,t}var Zh=q(W({},je),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ke(e.lView);for(;t&&!kc(t[w]);)t=Ke(t);t&&Mi(t)},consumerOnSignalRead(){this.lView[J]=this}});function kc(e){return e.type!==2}function Pc(e){if(e[Qe]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Qe])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[y]&8192)}}var Qh=100;function Lc(e,t=!0,n=0){let o=e[Ce].rendererFactory,i=!1;i||o.begin?.();try{Yh(e,n)}catch(s){throw t&&Sc(e,s),s}finally{i||o.end?.()}}function Yh(e,t){let n=Nu();try{cr(!0),Ko(e,t);let r=0;for(;Lr(e);){if(r===Qh)throw new T(103,!1);r++,Ko(e,1)}}finally{cr(n)}}function Kh(e,t,n,r){if(cn(t))return;let o=t[y],i=!1,s=!1;Ti(t);let a=!0,u=null,c=null;i||(kc(e)?(c=Uh(t),u=at(c)):ys()===null?(a=!1,c=qh(t),u=at(c)):t[J]&&(ut(t[J]),t[J]=null));try{Iu(t),zf(e.bindingStartIndex),n!==null&&bc(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let d=e.preOrderCheckHooks;d!==null&&Qn(t,d,null)}else{let d=e.preOrderHooks;d!==null&&Yn(t,d,0,null),yo(t,0)}if(s||Jh(t),Pc(t),Vc(t,0),e.contentQueries!==null&&fc(e,t),!i)if(l){let d=e.contentCheckHooks;d!==null&&Qn(t,d)}else{let d=e.contentHooks;d!==null&&Yn(t,d,1),yo(t,1)}eg(e,t);let f=e.components;f!==null&&Bc(t,f,0);let p=e.viewQuery;if(p!==null&&Zo(2,p,r),!i)if(l){let d=e.viewCheckHooks;d!==null&&Qn(t,d)}else{let d=e.viewHooks;d!==null&&Yn(t,d,2),yo(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Zn]){for(let d of t[Zn])d();t[Zn]=null}i||(Oc(t),t[y]&=-73)}catch(l){throw i||Ft(t),l}finally{c!==null&&(Bt(c,u),a&&Gh(c)),xi()}}function Vc(e,t){for(let n=ic(e);n!==null;n=sc(n))for(let r=Q;r<n.length;r++){let o=n[r];jc(o,t)}}function Jh(e){for(let t=ic(e);t!==null;t=sc(t)){if(!(t[y]&2))continue;let n=t[St];for(let r=0;r<n.length;r++){let o=n[r];Mi(o)}}}function Xh(e,t,n){N(18);let r=ye(t,e);jc(r,n),N(19,r[z])}function jc(e,t){_i(e)&&Ko(e,t)}function Ko(e,t){let r=e[w],o=e[y],i=e[J],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Ht(i)),s||=!1,i&&(i.dirty=!1),e[y]&=-9217,s)Kh(r,e,r.template,e[z]);else if(o&8192){Pc(e),Vc(e,1);let a=r.components;a!==null&&Bc(e,a,1),Oc(e)}}function Bc(e,t,n){for(let r=0;r<t.length;r++)Xh(e,t[r],n)}function eg(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Je(~o);else{let i=o,s=n[++r],a=n[++r];Wf(s,i);let u=t[i];N(24,u),a(2,u),N(25,u)}}}finally{Je(-1)}}function Xi(e,t){let n=Nu()?64:1088;for(e[Ce].changeDetectionScheduler?.notify(t);e;){e[y]|=n;let r=Ke(e);if(ar(e)&&!r)return e;e=r}return null}function Hc(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function tg(e,t){let n=Q+t;if(n<e.length)return e[n]}function es(e,t,n,r=!0){let o=t[w];if(rg(o,t,e,n),r){let s=Yo(n,e),a=t[F],u=a.parentNode(e[Ye]);u!==null&&Rh(o,e[K],a,t,u,s)}let i=t[Jt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function ng(e,t){let n=Er(e,t);return n!==void 0&&Yi(n[w],n),n}function Er(e,t){if(e.length<=Q)return;let n=Q+t,r=e[n];if(r){let o=r[Ze];o!==null&&o!==e&&Qi(o,r),t>0&&(e[n-1][ce]=r[ce]);let i=nr(e,Q+t);Ah(r[w],r);let s=i[be];s!==null&&s.detachView(i[w]),r[V]=null,r[ce]=null,r[y]&=-129}return r}function rg(e,t,n,r){let o=Q+r,i=n.length;r>0&&(n[o-1][ce]=t),r<i-Q?(t[ce]=n[o],Xa(n,Q+r,t)):(n.push(t),t[ce]=null),t[V]=n;let s=t[Ze];s!==null&&n!==s&&$c(s,t);let a=t[be];a!==null&&a.insertView(e),Fo(t),t[y]|=128}function $c(e,t){let n=e[St],r=t[V];if(Oe(r))e[y]|=2;else{let o=r[V][re];t[re]!==o&&(e[y]|=2)}n===null?e[St]=[t]:n.push(t)}var nt=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[w];return Dr(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[z]}get dirty(){return!!(this._lView[y]&9280)||!!this._lView[J]?.dirty}set context(t){this._lView[z]=t}get destroyed(){return cn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[V];if(Me(t)){let n=t[sr],r=n?n.indexOf(this):-1;r>-1&&(Er(t,r),nr(n,r))}this._attachedToViewContainer=!1}Yi(this._lView[w],this._lView)}onDestroy(t){wu(this._lView,t)}markForCheck(){Xi(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Mi(this._cdRefInjectingView||this._lView)}detach(){this._lView[y]&=-129}reattach(){Fo(this._lView),this._lView[y]|=128}detectChanges(){this._lView[y]|=1024,Lc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=ar(this._lView),n=this._lView[Ze];n!==null&&!t&&Qi(n,this._lView),Tc(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=t;let n=ar(this._lView),r=this._lView[Ze];r!==null&&!n&&$c(r,this._lView),Fo(this._lView)}},Tt=(()=>{class e{static __NG_ELEMENT_ID__=sg}return e})(),og=Tt,ig=class extends og{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Wi(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new nt(o)}};function sg(){return ts(oe(),S())}function ts(e,t){return e.type&4?new ig(t,e,kt(e,t)):null}function zr(e,t,n,r,o){let i=e.data[t];if(i===null)i=ag(e,t,n,r,o),Gf()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=$f();i.injectorIndex=s===null?-1:s.injectorIndex}return ln(i,!0),i}function ag(e,t,n,r,o){let i=Su(),s=Tu(),a=s?i:i&&i.parent,u=e.data[t]=cg(e,a,n,t,r,o);return ug(e,u,i,s),u}function ug(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function cg(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Mu()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var U_=new RegExp(`^(\\d+)*(${Pp}|${kp})*(.*)`);var lg=()=>null;function Ir(e,t){return lg(e,t)}var Jo=class{},wr=class{},Xo=class{resolveComponentFactory(t){throw Error(`No component factory found for ${U(t)}.`)}},xt=class{static NULL=new Xo},Cr=class{},ns=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>dg()}return e})();function dg(){let e=S(),t=oe(),n=ye(t.index,e);return(Oe(n)?n:e)[F]}var fg=(()=>{class e{static \u0275prov=O({token:e,providedIn:"root",factory:()=>null})}return e})();function xa(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=So(o,a);else if(i==2){let u=a,c=t[++s];r=So(r,u+": "+c+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Le(e,t=_.Default){let n=S();if(n===null)return Y(e,t);let r=oe();return Wu(r,n,H(e),t)}function z_(){let e="invalid";throw new Error(e)}function Uc(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a,u=null,c=null,l=hg(s);l===null?a=s:[a,u,c]=l,yg(e,t,n,a,i,u,c)}i!==null&&r!==null&&pg(n,r,i)}function pg(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new T(-301,!1);r.push(t[o],i)}}function hg(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&ge(a)&&(t=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,o=null,i=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],o??=new Map,i??=new Map,gg(s,r,i,o)),s===t&&(r??=[],r.push(s));return r!==null?(r.push(...t===null?e:e.slice(1)),[r,o,i]):null}function gg(e,t,n,r){let o=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[o,t.length-1])}function mg(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function yg(e,t,n,r,o,i,s){let a=r.length,u=!1;for(let p=0;p<a;p++){let d=r[p];!u&&ge(d)&&(u=!0,mg(e,n,p)),jo(fr(n,t),e,d.type)}Cg(n,e.data.length,a);for(let p=0;p<a;p++){let d=r[p];d.providersResolver&&d.providersResolver(d)}let c=!1,l=!1,f=wc(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let d=r[p];if(n.mergedAttrs=tn(n.mergedAttrs,d.hostAttrs),Dg(e,n,t,f,d),wg(f,d,o),s!==null&&s.has(d)){let[D,G]=s.get(d);n.directiveToIndex.set(d.type,[f,D+n.directiveStart,G+n.directiveStart])}else(i===null||!i.has(d))&&n.directiveToIndex.set(d.type,f);d.contentQueries!==null&&(n.flags|=4),(d.hostBindings!==null||d.hostAttrs!==null||d.hostVars!==0)&&(n.flags|=64);let h=d.type.prototype;!c&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),c=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),f++}vg(e,n,i)}function vg(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Na(0,t,o,r),Na(1,t,o,r),Ra(t,r,!1);else{let i=n.get(o);Aa(0,t,i,r),Aa(1,t,i,r),Ra(t,r,!0)}}}function Na(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),zc(t,i)}}function Aa(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),zc(t,s)}}function zc(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Ra(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Vi(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let u=r[a];if(u===0){a+=4;continue}else if(u===5){a+=2;continue}else if(typeof u=="number")break;if(!n&&o.hasOwnProperty(u)){let c=o[u];for(let l of c)if(l===t){s??=[],s.push(u,r[a+1]);break}}else if(n&&i.hasOwnProperty(u)){let c=i[u];for(let l=0;l<c.length;l+=2)if(c[l]===t){s??=[],s.push(c[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function Dg(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=_t(o.type,!0)),s=new Xe(i,ge(o),Le);e.blueprint[r]=s,n[r]=s,Eg(e,t,r,wc(e,n,o.hostVars,le),o)}function Eg(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Ig(s)!=a&&s.push(a),s.push(n,r,i)}}function Ig(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function wg(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ge(t)&&(n[""]=e)}}function Cg(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Gc(e,t,n,r,o,i,s,a){let u=t.consts,c=ur(u,s),l=zr(t,e,2,r,c);return i&&Uc(t,n,l,ur(u,a),o),l.mergedAttrs=tn(l.mergedAttrs,l.attrs),l.attrs!==null&&xa(l,l.attrs,!1),l.mergedAttrs!==null&&xa(l,l.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,l),l}function Wc(e,t){Vu(e,t),gu(t)&&e.queries.elementEnd(t)}var br=class extends xt{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Fe(t);return new Nt(n,this.ngModule)}};function bg(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&$r.SignalBased)!==0};return o&&(i.transform=o),i})}function _g(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Mg(e,t,n){let r=t instanceof ke?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Lo(n,r):n}function Sg(e){let t=e.get(Cr,null);if(t===null)throw new T(407,!1);let n=e.get(fg,null),r=e.get(et,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function Tg(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return vc(t,n,n==="svg"?Nf:n==="math"?Af:null)}var Nt=class extends wr{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){return bg(this.componentDef.inputs)}get outputs(){return _g(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=sh(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){N(22);let i=b(null);try{let s=this.componentDef,a=r?["ng-version","19.2.0"]:ah(this.componentDef.selectors[0]),u=ji(0,null,null,1,0,null,null,null,null,[a],null),c=Mg(s,o||this.ngModule,t),l=Sg(c),f=l.rendererFactory.createRenderer(null,s),p=r?mh(f,r,s.encapsulation,c):Tg(s,f),d=Bi(null,u,null,512|Ic(s),null,null,l,f,c,null,dc(p,c,!0));d[ee]=p,Ti(d);let h=null;try{let D=Gc(ee,u,d,"#host",()=>[this.componentDef],!0,0);p&&(Ec(f,p,D),hn(p,d)),$i(u,d,D),pc(u,D,d),Wc(u,D),n!==void 0&&xg(D,this.ngContentSelectors,n),h=ye(D.index,d),d[z]=h[z],Gi(u,d,null)}catch(D){throw h!==null&&Go(h),Go(d),D}finally{N(23),xi()}return new ei(this.componentType,d)}finally{b(i)}}},ei=class extends Jo{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=bi(n[w],ee),this.location=kt(this._tNode,n),this.instance=ye(this._tNode.index,n)[z],this.hostView=this.changeDetectorRef=new nt(n,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=zi(r,o[w],o,t,n);this.previousInputValues.set(t,n);let s=ye(r.index,o);Xi(s,1)}get injector(){return new We(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function xg(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var gn=(()=>{class e{static __NG_ELEMENT_ID__=Ng}return e})();function Ng(){let e=oe();return Zc(e,S())}var Ag=gn,qc=class extends Ag{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return kt(this._hostTNode,this._hostLView)}get injector(){return new We(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ri(this._hostTNode,this._hostLView);if(Bu(t)){let n=dr(t,this._hostLView),r=lr(t),o=n[w].data[r+8];return new We(o,n)}else return new We(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Oa(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Q}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Ir(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,yr(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!_f(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new Nt(Fe(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let D=(s?c:this.parentInjector).get(ke,null);D&&(i=D)}let l=Fe(u.componentType??{}),f=Ir(this._lContainer,l?.id??null),p=f?.firstChild??null,d=u.create(c,o,p,i);return this.insertImpl(d.hostView,a,yr(this._hostTNode,f)),d}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Of(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[V],c=new qc(u,u[K],u[V]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return es(s,o,i,r),t.attachToViewContainerRef(),Xa(Io(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Oa(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Er(this._lContainer,n);r&&(nr(Io(this._lContainer),n),Yi(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=Er(this._lContainer,n);return r&&nr(Io(this._lContainer),n)!=null?new nt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Oa(e){return e[sr]}function Io(e){return e[sr]||(e[sr]=[])}function Zc(e,t){let n,r=t[e.index];return Me(r)?n=r:(n=Hc(r,t,null,e),t[e.index]=n,Hi(t,n)),Og(n,t,e,r),new qc(n,e,t)}function Rg(e,t){let n=e[F],r=n.createComment(""),o=De(t,e),i=n.parentNode(o);return mr(n,i,r,n.nextSibling(o),!1),r}var Og=Pg,Fg=()=>!1;function kg(e,t,n){return Fg(e,t,n)}function Pg(e,t,n,r){if(e[Ye])return;let o;n.type&8?o=me(r):o=Rg(t,n),e[Ye]=o}var ti=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},ni=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)os(t,n).matches!==null&&this.queries[n].setDirty()}},ri=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=$g(t):this.predicate=t}},oi=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},ii=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,Lg(n,i)),this.matchTNodeWithReadOption(t,n,Kn(n,t,i,!1,!1))}else r===Tt?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Kn(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===it||o===gn||o===Tt&&n.type&4)this.addMatch(n.index,-2);else{let i=Kn(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function Lg(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function Vg(e,t){return e.type&11?kt(e,t):e.type&4?ts(e,t):null}function jg(e,t,n,r){return n===-1?Vg(t,e):n===-2?Bg(e,t,r):nn(e,e[w],n,t)}function Bg(e,t,n){if(n===it)return kt(t,e);if(n===Tt)return ts(t,e);if(n===gn)return Zc(t,e)}function Qc(e,t,n,r){let o=t[be].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let u=0;s!==null&&u<s.length;u+=2){let c=s[u];if(c<0)a.push(null);else{let l=i[c];a.push(jg(t,l,s[u+1],n.metadata.read))}}o.matches=a}return o.matches}function si(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Qc(e,t,o,n);for(let a=0;a<i.length;a+=2){let u=i[a];if(u>0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let f=Q;f<l.length;f++){let p=l[f];p[Ze]===p[V]&&si(p[w],p,c,r)}if(l[St]!==null){let f=l[St];for(let p=0;p<f.length;p++){let d=f[p];si(d[w],d,c,r)}}}}}return r}function rs(e,t){return e[be].queries[t].queryList}function Hg(e,t,n){let r=new zo((n&4)===4);return Pf(e,t,r,r.destroy),(t[be]??=new ni).queries.push(new ti(r))-1}function Yc(e,t,n){let r=L();return r.firstCreatePass&&(Ug(r,new ri(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Hg(r,S(),t)}function $g(e){return e.split(",").map(t=>t.trim())}function Ug(e,t,n){e.queries===null&&(e.queries=new oi),e.queries.track(new ii(t,n))}function os(e,t){return e.queries.getByIndex(t)}function Kc(e,t){let n=e[w],r=os(n,t);return r.crossesNgTemplate?si(n,e,t,[]):Qc(n,e,r,t)}function zg(e,t,n){let r,o=Qr(()=>{r._dirtyCounter();let i=qg(r,e);if(t&&i===void 0)throw new T(-951,!1);return i});return r=o[j],r._dirtyCounter=_p(0),r._flatValue=void 0,o}function Gg(e){return zg(!1,!1,e)}function Wg(e,t){let n=e[j];n._lView=S(),n._queryIndex=t,n._queryList=rs(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function qg(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[y]&4)return t?void 0:$;let o=rs(n,r),i=Kc(n,r);return o.reset(i,tc),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function W_(e,t){return Gg(t)}var Pe=class{},ai=class{};var ui=class extends Pe{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new br(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=nu(t);this._bootstrapComponents=gc(i.bootstrap),this._r3Injector=Qu(t,n,[{provide:Pe,useValue:this},{provide:xt,useValue:this.componentFactoryResolver},...r],U(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ci=class extends ai{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new ui(this.moduleType,t,[])}};var _r=class extends Pe{injector;componentFactoryResolver=new br(this);instance=null;constructor(t){super();let n=new Kt([...t.providers,{provide:Pe,useValue:this},{provide:xt,useValue:this.componentFactoryResolver}],t.parent||Fr(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Zg(e,t,n=null){return new _r({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Qg=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=su(!1,n.type),o=r.length>0?Zg([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=O({token:e,providedIn:"environment",factory:()=>new e(Y(ke))})}return e})();function q_(e){return xr(()=>{let t=Xc(e),n=q(W({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===rc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Qg).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||on.Emulated,styles:e.styles||$,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Pt("NgStandalone"),el(n);let r=e.dependencies;return n.directiveDefs=Fa(r,!1),n.pipeDefs=Fa(r,!0),n.id=em(n),n})}function Yg(e){return Fe(e)||ru(e)}function Kg(e){return e!==null}function Jc(e){return xr(()=>({type:e.type,bootstrap:e.bootstrap||$,declarations:e.declarations||$,imports:e.imports||$,exports:e.exports||$,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Jg(e,t){if(e==null)return qe;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,u;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,u=o[3]||null):(i=o,s=o,a=$r.None,u=null),n[i]=[r,a,u],t[i]=s}return n}function Xg(e){if(e==null)return qe;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function is(e){return xr(()=>{let t=Xc(e);return el(t),t})}function Xc(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||qe,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||$,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Jg(e.inputs,t),outputs:Xg(e.outputs),debugInfo:null}}function el(e){e.features?.forEach(t=>t(e))}function Fa(e,t){if(!e)return null;let n=t?ou:Yg;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Kg)}function em(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function tm(e){return Object.getPrototypeOf(e.prototype).constructor}function nm(e){let t=tm(e.type),n=!0,r=[e];for(;t;){let o;if(ge(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new T(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=wo(e.inputs),s.declaredInputs=wo(e.declaredInputs),s.outputs=wo(e.outputs);let a=o.hostBindings;a&&am(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&im(e,u),c&&sm(e,c),rm(e,o),Hd(e.outputs,o.outputs),ge(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===nm&&(n=!1)}}t=Object.getPrototypeOf(t)}om(r)}function rm(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function om(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=tn(o.hostAttrs,n=tn(n,o.hostAttrs))}}function wo(e){return e===qe?{}:e===$?[]:e}function im(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function sm(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function am(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function um(e,t,n){return e[t]=n}function Ve(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function cm(e,t,n,r,o,i,s,a,u){let c=t.consts,l=zr(t,e,4,s||null,a||null);_u()&&Uc(t,n,l,ur(c,u),Mc),l.mergedAttrs=tn(l.mergedAttrs,l.attrs),Vu(t,l);let f=l.tView=ji(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),f.queries=t.queries.embeddedTView(l)),l}function tl(e,t,n,r,o,i,s,a,u,c){let l=n+ee,f=t.firstCreatePass?cm(l,t,e,r,o,i,s,a,u):t.data[l];ln(f,!1);let p=dm(t,e,f,n);Ni()&&Ki(t,e,p,f),hn(p,e);let d=Hc(p,e,p,f);return e[l]=d,Hi(e,d),kg(d,f,e),Ci(f)&&$i(t,e,f),u!=null&&_c(e,f,c),f}function lm(e,t,n,r,o,i,s,a){let u=S(),c=L(),l=ur(c.consts,i);return tl(u,c,e,t,n,r,o,l,s,a),lm}var dm=fm;function fm(e,t,n,r){return Ai(!0),t[F].createComment("")}var Z_=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var pm=new x("");var nl=(()=>{class e{static \u0275prov=O({token:e,providedIn:"root",factory:()=>new Mr})}return e})(),Mr=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}};function ss(e){return!!e&&typeof e.then=="function"}function rl(e){return!!e&&typeof e.subscribe=="function"}var ol=new x("");function Q_(e){return iu([{provide:ol,multi:!0,useValue:e}])}var il=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=v(ol,{optional:!0})??[];injector=v(ve);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=du(this.injector,o);if(ss(i))n.push(i);else if(rl(i)){let s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),hm=new x("");function gm(){Ss(()=>{throw new T(600,!1)})}function mm(e){return e.isBoundToModule}var ym=10;var sn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=v(wp);afterRenderManager=v(cc);zonelessEnabled=v(Oi);rootEffectScheduler=v(nl);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new te;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=v(pn).hasPendingTasks.pipe(pe(n=>!n));constructor(){v(Br,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=v(ke);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){N(10);let o=n instanceof wr;if(!this._injector.get(il).done){let p=!o&&pf(n),d=!1;throw new T(405,d)}let s;o?s=n:s=this._injector.get(xt).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=mm(s)?void 0:this._injector.get(Pe),u=r||s.selector,c=s.create(ve.NULL,[],u,a),l=c.location.nativeElement,f=c.injector.get(pm,null);return f?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),Jn(this.components,c),f?.unregisterApplication(l)}),this._loadComponent(c),N(11,c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){N(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Pi.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new T(101,!1);let n=b(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,b(n),this.afterTick.next(),N(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Cr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<ym;)N(14),this.synchronizeOnce(),N(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)vm(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Lr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Jn(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(hm,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Jn(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new T(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Jn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function vm(e,t,n,r){if(!n&&!Lr(e))return;Lc(e,t,n&&!r?0:1)}function Dm(e,t,n,r){let o=S(),i=dn();if(Ve(o,i,t)){let s=L(),a=jr();bh(a,o,e,t,n,r)}return Dm}function as(e,t,n,r){return Ve(e,dn(),n)?t+Ar(n)+r:le}function Wn(e,t){return e<<17|t<<2}function rt(e){return e>>17&32767}function Em(e){return(e&2)==2}function Im(e,t){return e&131071|t<<17}function li(e){return e|2}function At(e){return(e&131068)>>2}function Co(e,t){return e&-131069|t<<2}function wm(e){return(e&1)===1}function di(e){return e|1}function Cm(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=rt(s),u=At(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let f=n;l=f[1],(l===null||un(f,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=rt(e[a+1]);e[r+1]=Wn(p,a),p!==0&&(e[p+1]=Co(e[p+1],r)),e[a+1]=Im(e[a+1],r)}else e[r+1]=Wn(a,0),a!==0&&(e[a+1]=Co(e[a+1],r)),a=r;else e[r+1]=Wn(u,0),a===0?a=r:e[u+1]=Co(e[u+1],r),u=r;c&&(e[r+1]=li(e[r+1])),ka(e,l,r,!0),ka(e,l,r,!1),bm(t,l,e,r,i),s=Wn(a,u),i?t.classBindings=s:t.styleBindings=s}function bm(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&un(i,t)>=0&&(n[r+1]=di(n[r+1]))}function ka(e,t,n,r){let o=e[n+1],i=t===null,s=r?rt(o):At(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];_m(u,t)&&(a=!0,e[s+1]=r?di(c):li(c)),s=r?rt(c):At(c)}a&&(e[n+1]=r?li(o):di(o))}function _m(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?un(e,t)>=0:!1}var ue={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Mm(e){return e.substring(ue.key,ue.keyEnd)}function Sm(e){return Tm(e),sl(e,al(e,0,ue.textEnd))}function sl(e,t){let n=ue.textEnd;return n===t?-1:(t=ue.keyEnd=xm(e,ue.key=t,n),al(e,t,n))}function Tm(e){ue.key=0,ue.keyEnd=0,ue.value=0,ue.valueEnd=0,ue.textEnd=e.length}function al(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function xm(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Nm(e,t,n){let r=S(),o=dn();if(Ve(r,o,t)){let i=L(),s=jr();Ui(i,s,r,e,t,r[F],n,!1)}return Nm}function fi(e,t,n,r,o){zi(t,e,n,o?"class":"style",r)}function Am(e,t){return Rm(e,t,null,!0),Am}function Y_(e){cl(Vm,ul,e,!0)}function ul(e,t){for(let n=Sm(t);n>=0;n=sl(t,n))Or(e,Mm(t),!0)}function Rm(e,t,n,r){let o=S(),i=L(),s=Au(2);if(i.firstUpdatePass&&dl(i,e,s,r),t!==le&&Ve(o,s,t)){let a=i.data[ot()];fl(i,a,o,o[F],e,o[s+1]=Bm(t,n),r,s)}}function cl(e,t,n,r){let o=L(),i=Au(2);o.firstUpdatePass&&dl(o,null,i,r);let s=S();if(n!==le&&Ve(s,i,n)){let a=o.data[ot()];if(pl(a,r)&&!ll(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=So(u,n||"")),fi(o,a,s,n,r)}else jm(o,a,s,s[F],s[i+1],s[i+1]=Lm(e,t,n),r,i)}}function ll(e,t){return t>=e.expandoStartIndex}function dl(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ot()],s=ll(e,n);pl(i,r)&&t===null&&!s&&(t=!1),t=Om(o,i,t,r),Cm(o,i,t,n,s,r)}}function Om(e,t,n,r){let o=Zf(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=bo(null,e,t,n,r),n=an(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=bo(o,e,t,n,r),i===null){let u=Fm(e,t,r);u!==void 0&&Array.isArray(u)&&(u=bo(null,e,t,u[1],r),u=an(u,t.attrs,r),km(e,t,r,u))}else i=Pm(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Fm(e,t,n){let r=n?t.classBindings:t.styleBindings;if(At(r)!==0)return e[rt(r)]}function km(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[rt(o)]=r}function Pm(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=an(r,s,n)}return an(r,t.attrs,n)}function bo(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=an(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function an(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Or(e,s,n?!0:t[++i]))}return e===void 0?null:e}function Lm(e,t,n){if(n==null||n==="")return $;let r=[],o=Hr(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function Vm(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Or(e,r,n)}function jm(e,t,n,r,o,i,s,a){o===le&&(o=$);let u=0,c=0,l=0<o.length?o[0]:null,f=0<i.length?i[0]:null;for(;l!==null||f!==null;){let p=u<o.length?o[u+1]:void 0,d=c<i.length?i[c+1]:void 0,h=null,D;l===f?(u+=2,c+=2,p!==d&&(h=f,D=d)):f===null||l!==null&&l<f?(u+=2,h=l):(c+=2,h=f,D=d),h!==null&&fl(e,t,n,r,h,D,s,a),l=u<o.length?o[u]:null,f=c<i.length?i[c]:null}}function fl(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let u=e.data,c=u[a+1],l=wm(c)?Pa(u,t,n,o,At(c),s):void 0;if(!Sr(l)){Sr(i)||Em(c)&&(i=Pa(u,null,n,o,a,s));let f=Eu(ot(),n);Hh(r,s,f,o,i)}}function Pa(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,f=l===null,p=n[o+1];p===le&&(p=f?$:void 0);let d=f?go(p,r):l===r?p:void 0;if(c&&!Sr(d)&&(d=go(u,r)),Sr(d)&&(a=d,s))return a;let h=e[o+1];o=s?rt(h):At(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=go(u,r))}return a}function Sr(e){return e!==void 0}function Bm(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=U(Hr(e)))),e}function pl(e,t){return(e.flags&(t?8:16))!==0}function K_(e,t,n){let r=S(),o=as(r,e,t,n);cl(Or,ul,o,!0)}function J_(e,t){Pt("NgControlFlow");let n=S(),r=dn(),o=n[r]!==le?n[r]:-1,i=o!==-1?La(n,ee+o):void 0,s=0;if(Ve(n,r,e)){let a=b(null);try{if(i!==void 0&&ng(i,s),e!==-1){let u=ee+e,c=La(n,u),l=Hm(n[w],u),f=Ir(c,l.tView.ssrId),p=Wi(n,l,t,{dehydratedView:f});es(c,p,s,yr(l,f))}}finally{b(a)}}else if(i!==void 0){let a=tg(i,s);a!==void 0&&(a[z]=t)}}function La(e,t){return e[t]}function Hm(e,t){return bi(e,t)}function hl(e,t,n,r){let o=S(),i=L(),s=ee+e,a=o[F],u=i.firstCreatePass?Gc(s,i,o,t,Mc,_u(),n,r):i.data[s],c=Um(i,o,u,a,t,e);o[s]=c;let l=Ci(u);return ln(u,!0),Ec(a,c,u),!Zi(u)&&Ni()&&Ki(i,o,c,u),(Lf()===0||l)&&hn(c,o),Vf(),l&&($i(i,o,u),pc(i,u,o)),r!==null&&_c(o,u),hl}function gl(){let e=oe();Tu()?xu():(e=e.parent,ln(e,!1));let t=e;Bf(t)&&Hf(),jf();let n=L();return n.firstCreatePass&&Wc(n,t),t.classesWithoutHost!=null&&tp(t)&&fi(n,t,S(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&np(t)&&fi(n,t,S(),t.stylesWithoutHost,!1),gl}function $m(e,t,n,r){return hl(e,t,n,r),gl(),$m}var Um=(e,t,n,r,o,i)=>(Ai(!0),vc(r,o,Kf()));function X_(){return S()}function zm(e,t,n){let r=S(),o=dn();if(Ve(r,o,t)){let i=L(),s=jr();Ui(i,s,r,e,t,r[F],n,!0)}return zm}var Tr="en-US";var Gm=Tr;function Wm(e){typeof e=="string"&&(Gm=e.toLowerCase().replace(/_/g,"-"))}var qm=(e,t,n)=>{};function Zm(e,t,n,r){let o=S(),i=L(),s=oe();return Ym(i,o,o[F],s,e,t,r),Zm}function Qm(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[ir],u=o[i+2];return a.length>u?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Ym(e,t,n,r,o,i,s){let a=Ci(r),c=e.firstCreatePass?bu(e):null,l=t[z],f=Cu(t),p=!0;if(r.type&3||s){let d=De(r,t),h=s?s(d):d,D=f.length,G=s?Lt=>s(me(Lt[r.index])):r.index,R=null;if(!s&&a&&(R=Qm(e,t,o,r.index)),R!==null){let Lt=R.__ngLastListenerFn__||R;Lt.__ngNextListenerFn__=i,R.__ngLastListenerFn__=i,p=!1}else{i=Ba(r,t,l,i),qm(d,o,i);let Lt=n.listen(h,o,i);f.push(i,Lt),c&&c.push(o,G,D,D+1)}}else i=Ba(r,t,l,i);if(p){let d=r.outputs?.[o],h=r.hostDirectiveOutputs?.[o];if(h&&h.length)for(let D=0;D<h.length;D+=2){let G=h[D],R=h[D+1];Va(r,e,t,G,R,o,i,f,c)}if(d&&d.length)for(let D of d)Va(r,e,t,D,o,o,i,f,c)}}function Va(e,t,n,r,o,i,s,a,u){let c=n[r],f=t.data[r].outputs[o],d=c[f].subscribe(s),h=a.length;a.push(s,d),u&&u.push(i,e.index,h,-(h+1))}function ja(e,t,n,r){let o=b(null);try{return N(6,t,n),n(r)!==!1}catch(i){return Sc(e,i),!1}finally{N(7,t,n),b(o)}}function Ba(e,t,n,r){return function o(i){if(i===Function)return r;let s=Ot(e)?ye(e.index,t):t;Xi(s,5);let a=ja(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=ja(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function eM(e=1){return Yf(e)}function Km(e,t){let n=null,r=th(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?yc(e,i,!0):oh(r,i))return o}return n}function tM(e){let t=S()[re][K];if(!t.projection){let n=e?e.length:1,r=t.projection=lf(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?Km(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function nM(e,t=0,n,r,o,i){let s=S(),a=L(),u=r?e+1:null;u!==null&&tl(s,a,u,r,o,i,null,n);let c=zr(a,ee+e,16,null,n||null);c.projection===null&&(c.projection=t),xu();let f=!s[Jt]||Mu();s[re][K].projection[c.projection]===null&&u!==null?Jm(s,a,u):f&&!Zi(c)&&jh(a,s,c)}function Jm(e,t,n){let r=ee+n,o=t.data[r],i=e[r],s=Ir(i,o.tView.ssrId),a=Wi(e,o,void 0,{dehydratedView:s});es(i,a,0,yr(o,s))}function Xm(e,t,n){return ml(e,"",t,"",n),Xm}function ml(e,t,n,r,o){let i=S(),s=as(i,t,n,r);if(s!==le){let a=L(),u=jr();Ui(a,u,i,e,s,i[F],o,!1)}return ml}function rM(e,t,n){Yc(e,t,n)}function oM(e){let t=S(),n=L(),r=Si();Vr(r+1);let o=os(n,r);if(e.dirty&&Rf(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Kc(t,r);e.reset(i,tc),e.notifyOnChanges()}return!0}return!1}function iM(){return rs(S(),Si())}function sM(e,t,n,r){Wg(e,Yc(t,n,r))}function aM(e=1){Vr(Si()+e)}function uM(e,t=""){let n=S(),r=L(),o=e+ee,i=r.firstCreatePass?zr(r,o,1,t,null):r.data[o],s=ey(r,n,i,t,e);n[o]=s,Ni()&&Ki(r,n,s,i),ln(i,!1)}var ey=(e,t,n,r,o)=>(Ai(!0),uh(t[F],r));function ty(e){return yl("",e,""),ty}function yl(e,t,n){let r=S(),o=as(r,e,t,n);return o!==le&&ny(r,ot(),o),yl}function ny(e,t,n){let r=Eu(t,e);ch(e[F],r,n)}function ry(e,t,n){let r=L();if(r.firstCreatePass){let o=ge(e);pi(n,r.data,r.blueprint,o,!0),pi(t,r.data,r.blueprint,o,!1)}}function pi(e,t,n,r,o){if(e=H(e),Array.isArray(e))for(let i=0;i<e.length;i++)pi(e[i],t,n,r,o);else{let i=L(),s=S(),a=oe(),u=Mt(e)?e:H(e.provide),c=lu(e),l=a.providerIndexes&1048575,f=a.directiveStart,p=a.providerIndexes>>20;if(Mt(e)||!e.multi){let d=new Xe(c,o,Le),h=Mo(u,t,o?l:l+p,f);h===-1?(jo(fr(a,s),i,u),_o(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(d),s.push(d)):(n[h]=d,s[h]=d)}else{let d=Mo(u,t,l+p,f),h=Mo(u,t,l,l+p),D=d>=0&&n[d],G=h>=0&&n[h];if(o&&!G||!o&&!D){jo(fr(a,s),i,u);let R=sy(o?iy:oy,n.length,o,r,c);!o&&G&&(n[h].providerFactory=R),_o(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(R),s.push(R)}else{let R=vl(n[o?h:d],c,!o&&r);_o(i,e,d>-1?d:h,R)}!o&&r&&G&&n[h].componentProviders++}}}function _o(e,t,n,r){let o=Mt(t),i=vf(t);if(o||i){let u=(i?H(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function vl(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Mo(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function oy(e,t,n,r){return hi(this.multi,[])}function iy(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=nn(n,n[w],this.providerFactory.index,r);i=a.slice(0,s),hi(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],hi(o,i);return i}function hi(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function sy(e,t,n,r,o){let i=new Xe(e,n,Le);return i.multi=[],i.index=t,i.componentProviders=0,vl(i,o,r&&!n),i}function cM(e,t=[]){return n=>{n.providersResolver=(r,o)=>ry(r,o?o(e):e,t)}}function lM(e,t,n,r){return uy(S(),Uf(),e,t,n,r)}function ay(e,t){let n=e[t];return n===le?void 0:n}function uy(e,t,n,r,o,i){let s=t+n;return Ve(e,s,o)?um(e,s+1,i?r.call(i,o):r(o)):ay(e,s+1)}var gi=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}};var mi=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},dM=(()=>{class e{compileModuleSync(n){return new ci(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=nu(n),i=gc(o.declarations).reduce((s,a)=>{let u=Fe(a);return u&&s.push(new Nt(u)),s},[]);return new mi(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var cy=(()=>{class e{zone=v(X);changeDetectionScheduler=v(et);applicationRef=v(sn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ly=new x("",{factory:()=>!1});function Dl({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new X(q(W({},El()),{scheduleInRootZone:n})),[{provide:X,useFactory:e},{provide:rr,multi:!0,useFactory:()=>{let r=v(cy,{optional:!0});return()=>r.initialize()}},{provide:rr,multi:!0,useFactory:()=>{let r=v(dy);return()=>{r.initialize()}}},t===!0?{provide:Ku,useValue:!0}:[],{provide:Ju,useValue:n??Yu}]}function fM(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=Dl({ngZoneFactory:()=>{let o=El(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&Pt("NgZone_CoalesceEvent"),new X(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return iu([{provide:ly,useValue:!0},{provide:Oi,useValue:!1},r])}function El(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var dy=(()=>{class e{subscription=new k;initialized=!1;zone=v(X);pendingTasks=v(pn);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{X.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{X.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var fy=(()=>{class e{appRef=v(sn);taskService=v(pn);ngZone=v(X);zonelessEnabled=v(Oi);tracing=v(Br,{optional:!0});disableScheduling=v(Ku,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new k;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(hr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(v(Ju,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Uo||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Ea:Xu;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(hr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Ea(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function py(){return typeof $localize<"u"&&$localize.locale||Tr}var us=new x("",{providedIn:"root",factory:()=>v(us,_.Optional|_.SkipSelf)||py()});var yi=new x(""),hy=new x("");function Wt(e){return!e.moduleRef}function gy(e){let t=Wt(e)?e.r3Injector:e.moduleRef.injector,n=t.get(X);return n.run(()=>{Wt(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(tt,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Wt(e)){let i=()=>t.destroy(),s=e.platformInjector.get(yi);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(yi);s.add(i),e.moduleRef.onDestroy(()=>{Jn(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return yy(r,n,()=>{let i=t.get(il);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(us,Tr);if(Wm(s||Tr),!t.get(hy,!0))return Wt(e)?t.get(sn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Wt(e)){let u=t.get(sn);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return my(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function my(e,t){let n=e.injector.get(sn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new T(-403,!1);t.push(e)}function yy(e,t,n){try{let r=n();return ss(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Xn=null;function vy(e=[],t){return ve.create({name:t,providers:[{provide:cu,useValue:"platform"},{provide:yi,useValue:new Set([()=>Xn=null])},...e]})}function Dy(e=[]){if(Xn)return Xn;let t=vy(e);return Xn=t,gm(),Ey(t),t}function Ey(e){let t=e.get(Op,null);du(e,()=>{t?.forEach(n=>n())})}var cs=(()=>{class e{static __NG_ELEMENT_ID__=Iy}return e})();function Iy(e){return wy(oe(),S(),(e&16)===16)}function wy(e,t,n){if(Ot(e)&&!n){let r=ye(e.index,t);return new nt(r,r)}else if(e.type&175){let r=t[re];return new nt(r,t)}return null}function pM(e){N(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Dy(r),i=[Dl({}),{provide:et,useExisting:fy},...n||[]],s=new _r({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return gy({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}finally{N(9)}}function Cy(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function by(e){let t=b(null);try{return e()}finally{b(t)}}function hM(e,t){let n=Qr(e);return t?.equal&&(n[j].equal=t.equal),n}var _y=!1,My=(()=>{class e extends Mr{pendingTasks=v(pn);taskId=null;schedule(n){super.schedule(n),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=O({token:e,providedIn:"root",factory:()=>new e})}return e})(),vi=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.zone=r,this.injector=i,this.watcher=Ns(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(tt,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function Sy(){}function Ty(e,t){!t?.injector&&kr(Sy);let n=t?.injector??v(ve),r=t?.manualCleanup!==!0?n.get(fn):null,o=new vi(n.get(My),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(cs,null,{optional:!0});return!i||!(i._lView[y]&8)?o.watcher.notify():(i._lView[Zn]??=[]).push(o.watcher.notify),o}var xy=_y;var Di=class{[j];constructor(t){this[j]=t}destroy(){this[j].destroy()}};function Ny(e,t){if(xy)return Ty(e,t);!t?.injector&&kr(Ny);let n=t?.injector??v(ve),r=t?.manualCleanup!==!0?n.get(fn):null,o,i=n.get(Li,null,{optional:!0}),s=n.get(et);return i!==null&&!t?.forceRoot?(o=Oy(i.view,s,e),r instanceof pr&&r._lView===i.view&&(r=null)):o=Fy(e,n.get(nl),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Di(o)}var Il=q(W({},je),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:rn,run(){if(this.dirty=!1,this.hasRun&&!Ht(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=at(this),n=cr(!1);try{this.maybeCleanup(),this.fn(e)}finally{cr(n),Bt(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),Ay=q(W({},Il),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){ut(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),Ry=q(W({},Il),{consumerMarkedDirty(){this.view[y]|=8192,Ft(this.view),this.notifier.notify(13)},destroy(){ut(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Qe]?.delete(this)}});function Oy(e,t,n){let r=Object.create(Ry);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[Qe]??=new Set,e[Qe].add(r),r.consumerMarkedDirty(r),r}function Fy(e,t,n){let r=Object.create(Ay);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(12),r}function gM(e,t){let n=Fe(e),r=t.elementInjector||Fr();return new Nt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}var Tl=null;function ls(){return Tl}function WM(e){Tl??=e}var wl=class{};var xl=new x(""),Nl=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=O({token:e,factory:()=>v(Py),providedIn:"platform"})}return e})();var Py=(()=>{class e extends Nl{_location;_history;_doc=v(xl);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ls().getBaseHref(this._doc)}onPopState(n){let r=ls().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=ls().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=O({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Al(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Cl(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function st(e){return e&&e[0]!=="?"?`?${e}`:e}var ps=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=O({token:e,factory:()=>v(Vy),providedIn:"root"})}return e})(),Ly=new x(""),Vy=(()=>{class e extends ps{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??v(xl).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Al(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+st(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+st(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+st(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(Y(Nl),Y(Ly,8))};static \u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var jy=(()=>{class e{_subject=new te;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=$y(Cl(bl(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+st(r))}normalize(n){return e.stripTrailingSlash(Hy(this._basePath,bl(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+st(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+st(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=st;static joinWithSlash=Al;static stripTrailingSlash=Cl;static \u0275fac=function(r){return new(r||e)(Y(ps))};static \u0275prov=O({token:e,factory:()=>By(),providedIn:"root"})}return e})();function By(){return new jy(Y(ps))}function Hy(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function bl(e){return e.replace(/\/index.html$/,"")}function $y(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function qM(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var ds=/\s+/,_l=[],ZM=(()=>{class e{_ngEl;_renderer;initialClasses=_l;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(ds):_l}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(ds):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(ds).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(Le(it),Le(ns))};static \u0275dir=is({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var QM=(()=>{class e{_viewContainer;_context=new fs;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Ml("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Ml("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(Le(gn),Le(Tt))};static \u0275dir=is({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),fs=class{$implicit=null;ngIf=null};function Ml(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${U(t)}'.`)}var YM=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Jc({type:e});static \u0275inj=qa({})}return e})(),Uy="browser",zy="server";function KM(e){return e===Uy}function JM(e){return e===zy}var Sl=class{};var hs=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(hs||{}),tS="*";function nS(e,t=null){return{type:hs.Sequence,steps:e,options:t}}function rS(e){return{type:hs.Style,styles:e,offset:null}}var Rl=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,n=0){this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Ol=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},oS="!";export{k as a,zl as b,I as c,io as d,so as e,te as f,$t as g,ao as h,Ie as i,fe as j,co as k,ed as l,td as m,we as n,nd as o,pe as p,ld as q,se as r,xe as s,fd as t,pd as u,lo as v,Ge as w,Ed as x,Id as y,mt as z,Cd as A,_d as B,fo as C,Md as D,Gt as E,yt as F,Sd as G,xd as H,Nd as I,Ad as J,ho as K,Rd as L,Od as M,Fd as N,kd as O,Pd as P,ia as Q,Ld as R,Vd as S,T,Ga as U,O as V,qa as W,A_ as X,x as Y,_ as Z,Y as _,v as $,iu as aa,cu as ba,ke as ca,du as da,kr as ea,Mf as fa,R_ as ga,O_ as ha,F_ as ia,ve as ja,fn as ka,et as la,pn as ma,Ae as na,X as oa,tt as pa,k_ as qa,it as ra,_p as sa,P_ as ta,L_ as ua,Op as va,Fp as wa,V_ as xa,j_ as ya,Br as za,Pt as Aa,Hp as Ba,$p as Ca,on as Da,B_ as Ea,H_ as Fa,vr as Ga,Tt as Ha,Cr as Ia,ns as Ja,Le as Ka,z_ as La,gn as Ma,W_ as Na,ai as Oa,Zg as Pa,q_ as Qa,Jc as Ra,is as Sa,nm as Ta,lm as Ua,Z_ as Va,ss as Wa,Q_ as Xa,hm as Ya,sn as Za,Dm as _a,Nm as $a,Am as ab,Y_ as bb,K_ as cb,J_ as db,hl as eb,gl as fb,$m as gb,X_ as hb,zm as ib,Zm as jb,eM as kb,tM as lb,nM as mb,Xm as nb,rM as ob,oM as pb,iM as qb,sM as rb,aM as sb,uM as tb,ty as ub,yl as vb,cM as wb,lM as xb,gi as yb,dM as zb,fM as Ab,cs as Bb,pM as Cb,Cy as Db,by as Eb,hM as Fb,Ny as Gb,gM as Hb,ls as Ib,WM as Jb,wl as Kb,xl as Lb,jy as Mb,qM as Nb,ZM as Ob,QM as Pb,YM as Qb,Uy as Rb,KM as Sb,JM as Tb,Sl as Ub,hs as Vb,tS as Wb,nS as Xb,rS as Yb,Rl as Zb,Ol as _b,oS as $b};
